irgendwie habe ich hier
ocmd:cuff(playerid,params[])
{
if(GetPVarInt(playerid,"Fraktion") != 1)return SendClientMessage(playerid, Rot, "Du bist kein Cop");
new pID;
if(sscanf(params, "d" pID))return SendClientMessage(playerid, Orange, "BENUTZE:/cuff pID");
TogglePlayerControllable(pID,false);
SendClientMessage(pID,Rot,"Du wurdest Verhaftet!");
return 1;
}
ocmd:uncuff(playerid,params[])
{
if(GetPVarInt(playerid,"Fraktion") != 1)return SendClientMessage(playerid, Rot, "Du bist kein Cop");
new pID;
if(sscanf(params, "d" pID))return SendClientMessage(playerid, Orange, "BENUTZE:/uncuff pID");
TogglePlayerControllable(pID,true);
SendClientMessage(pID,Rot,"Du wurdest Freigelassen!");
return 1;
}
diese fehler
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\rl.pwn(1326) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\rl.pwn(1326) : warning 215: expression has no effect
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\rl.pwn(1326) : error 001: expected token: ";", but found ")"
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\rl.pwn(1326) : error 029: invalid expression, assumed zero
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\rl.pwn(1326) : fatal error 107: too many error messages on one line
aber irgendwie finde ich sie nicht