hey ich kriege immer bei einen tor befehl diese errors
C:\Users\user\Desktop\ORGINAL SERVER\gamemodes\Gadai.pwn(23717) : error 001: expected token: ";", but found ")"
C:\Users\user\Desktop\ORGINAL SERVER\gamemodes\Gadai.pwn(23717) : error 029: invalid expression, assumed zero
if(strcmp(cmd, "/schokotor",true) == 0)
{
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,sizeof pName);
if(!strcmp(pName,"[ScR]Duce",true))
if(PlayerInfo[playerid][pDonateRank] >= 2)
{
if(PlayerInfo[playerid][pLevel] >= 1)
{
Zeile 23717 MoveObject(schokotor,1496.5, -699.90002441406, 96.400001525879-7, 3.0); 1496.5, -699.90002441406, 90.599998474121,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimer("Closeschokotor", 10000, 0);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
SendClientMessage(playerid, COLOR_GREEN, "Beeil dich das Tor schließt in 10 sek!");
}
else
{
SendClientMessage(playerid,COLOR_RED, "Du bist nicht Duce!");
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "Du bist kein Premium User und nicht befugt!");
}
}
ich hoffe ihr könnt mir helfen -.-