Guten Abend Brotfischer
Ich habe ein "provisorischen" a duty befehl gescriptet.
ocmd:aduty(playerid,params[])
{
if(isPlayerAnAdmin(playerid,2))
{
if(OnDuty[playerid] == 0)
{
OnDuty[playerid] = 1;
SetPlayerMarkerForPlayer(playerid,Gelb);
return 1;
}
else if(OnDuty[playerid] == 1)
{
OnDuty[playerid] = 0;
SetPlayerMarkerForPlayer(playerid,Weis);
return 1;
}
}
return 1;
}
Warnings:
C:\Users\Oliver\Desktop\Mein Server\gamemodes\Script.pwn(1353) : warning 202: number of arguments does not match definition
C:\Users\Oliver\Desktop\Mein Server\gamemodes\Script.pwn(1359) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
Die warnings sind die:
SetPlayerMarkerForPlayer(playerid,*Farbe*)
PLS HELP
Summer