C:\Users\Marcel\Desktop\Next Legend RP\gamemodes\script.pwn(22865) : error 001: expected token: ";", but found "if"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Hier der Zeilen Error
ocmd:su(playerid,params[]){ if(duty[playerid]==0)return ErrorMsg(playerid,"Du bist nicht im Dienst."); if(!IsPlayerInFrakt(playerid,1)&&!IsPlayerInFrakt(playerid,6)&&!IsPlayerInFrakt(playerid,11)&&!IsPlayerInFrakt(playerid,16))return ErrorMsg(playerid,"Du darfst diesen Befehl nicht nutzen."); new pID, wps, grund[64]; if(sscanf(params,"uis[64]",pID,wps,grund))return ErrorMsg(playerid,"INFO: /su [playerid] [wps] [Grund]"); if(!IsPlayerConnected(pID))return ErrorMsg(playerid,"Spieler nicht gefunden."); if(wps<1)return ErrorMsg(playerid,"Ungültiger Betrag.") if(SpielerInfo[pID][Wanteds]+wps>69) { wps=69-SpielerInfo[pID][Wanteds]; }