Hier der Befehl:
ocmd:invite(playerid,params[])
{
if(!PlayerRang(playerid,6))return SendClientMessage(playerid,Grau,"Du hast nicht den gebrauchten Rang dazu.");
if(!isPlayerInFrakt(playerid,"Fraktion"))return SendClientMessage(playerid,Grau,"Du bist nicht der Leader der Fraktion!"); //Error
new pID;
if(sscanf(params,"u",pID))return SendClientMessage(playerid,Weis,"Nutze: /invite [ID/Teilname]");
SetPVarInt(pID,"Fraktion"); //Error
SetPVarInt(pID,"Fraktionsrang",1);
return 1;
}
Error:
C:\Users\Alex\Desktop\Selfmade!\gamemodes\Selfmade.pwn(3790) : error 035: argument type mismatch (argument 2)
C:\Users\Alex\Desktop\Selfmade!\gamemodes\Selfmade.pwn(3793) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.