Habe 4 Errors und Warnings bei Paybefehl was hab ich falsch gemacht??
C:\Users\Ralf\Desktop\Samp o.3x Server\gamemodes\GRSA-Script.pwn(5965) : warning 219: local variable "Geld" shadows a variable at a preceding level
C:\Users\Ralf\Desktop\Samp o.3x Server\gamemodes\GRSA-Script.pwn(5966) : warning 213: tag mismatch
C:\Users\Ralf\Desktop\Samp o.3x Server\gamemodes\GRSA-Script.pwn(5970) : warning 213: tag mismatch
C:\Users\Ralf\Desktop\Samp o.3x Server\gamemodes\GRSA-Script.pwn(5971) : warning 213: tag mismatch
C:\Users\Ralf\Desktop\Samp o.3x Server\gamemodes\GRSA-Script.pwn(5972) : error 029: invalid expression, assumed zero
C:\Users\Ralf\Desktop\Samp o.3x Server\gamemodes\GRSA-Script.pwn(5972) : warning 215: expression has no effect
C:\Users\Ralf\Desktop\Samp o.3x Server\gamemodes\GRSA-Script.pwn(5972) : error 001: expected token: ";", but found ")"
C:\Users\Ralf\Desktop\Samp o.3x Server\gamemodes\GRSA-Script.pwn(5972) : error 029: invalid expression, assumed zero
C:\Users\Ralf\Desktop\Samp o.3x Server\gamemodes\GRSA-Script.pwn(5972) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
ocmd:pay(playerid,params[])
{
new pID,Geld,Float:PosX,Float:PosY,Float:PosZ;
if(sscanf(params,"ud",pID,Geld))return SendClientMessage(playerid,Orange,"Benutzung: /pay [ID] [GELD]"); // Zeile 5966
if(!IsPlayerConnected(pID)) return SendClientMessage(playerid,Rot,"Der angegebene Spieler ist nicht online.");
GetPlayerPos(pID,PosX,PosY,PosZ);
if(!IsPlayerInRangeOfPoint(playerid,5,PosX,PosY,PosZ)) return SendClientMessage(playerid,Rot,"Der angegebene Spieler ist zu weit weg!");
if(GetPlayerMoney(playerid)<Geld) return SendClientMessage(playerid,Rot,"Du hast zu wenig Geld!");
GivePlayerMoney(playerid,-Geld); //Zeile 5972
GivePlayerMoney(pID,+Geld);
return 1;
}