Hi ich bekomme in diesen zeilenocmd:setfrak(playerid,params[])
{
if(GetPVarInt(playerid,"Adminlevel")!=5)return SendClientMessage(playerid,Rot,"Du bist kein Fulladmin");
new pID,frak,rang;
if(sscanf(params,"udd",frak,rang))return SendClientMessage(playerid,Orange,"Benutze: /setfrak [frakid] [rang]");
SetPVarInt(pID,"Fraktion")frak);<-----FEHLER
SetPVarInt(pID,"Frakrang")rang);
SpawnPlayer(pID);
SendClientMessage(playerid,Gelb,"Erfolgreich");
SendClientMessage(pID,Gelb,"Viel spaß bei deiner neuen Fraktion");
return 1;
}
diese FehlerC:\Users\Niklas\Desktop\GTA SERVER\gamemodes\rl.pwn(1980) : warning 202: number of arguments does not match definition
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\rl.pwn(1980) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\rl.pwn(1980) : warning 215: expression has no effect
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\rl.pwn(1980) : error 001: expected token: ";", but found ")"
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\rl.pwn(1980) : error 029: invalid expression, assumed zero
C:\Users\Niklas\Desktop\GTA SERVER\gamemodes\rl.pwn(1980) : fatal error 107: too many error messages on one line
Bitte helft mir so schnell wie möglich
MFG Acrio