C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(375) : error 035: argument type mismatch (argument 2)
C:\Users\Tufan\Desktop\Selfmade!\gamemodes\meinselfmade.01.pwn(377) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
ocmd:su(playerid,params[])
{
new pID, wlevel, reason[128], string[128];
if(GetPVarInt(playerid,"Fraktion")!=1)return SendClientMessage(playerid,grau,"Du bist kein Cop !");
if(GetPVarInt(playerid,"Fraktion")!=4)return SendClientMessage(playerid,grau,"Du bist kein Cop !");
if(sscanf(params,"us",pID,reason))return SendClientMessage(playerid,grau,"/ban [id] [grund]");
SetPlayerWantedLevel(pID,wlevel);
SetPVarInt(pID,"wlevel",wlevel);
format(string,sizeof(string),"Du hast eine Straftat begangen (%s)",reason);
SendClientMessage(pID,string);/// erste zeile
format(string,sizeof(string),"Aktuelles Wantedlevel: %s",wlevel);
SendClientMessage(pID,string);// zweite zeile
return 1;
}
wisst ihr was falsch ist ??