Can someone fix this for me?
#1

Код:
C:\Users\Curdoglo Family\Desktop\Sky Stunting\gamemodes\samptests.pwn(94) : error 017: undefined symbol "IsACop"
C:\Users\Curdoglo Family\Desktop\Sky Stunting\gamemodes\samptests.pwn(94) : warning 202: number of arguments does not match definition
C:\Users\Curdoglo Family\Desktop\Sky Stunting\gamemodes\samptests.pwn(94) : error 001: expected token: ",", but found ";"
C:\Users\Curdoglo Family\Desktop\Sky Stunting\gamemodes\samptests.pwn(94) : error 036: empty statement
C:\Users\Curdoglo Family\Desktop\Sky Stunting\gamemodes\samptests.pwn(94) : fatal error 107: too many error messages on one line
Код:
	if(IsACop(playerid, );
Reply
#2

pawn Код:
if(IsACop(playerid)
Reply
#3

also u didn't define IsACop

pawn Код:
new IsACop[MAX_PLAYERS];
Correct me if i am wrong pl0x?
Reply
#4

forward IsACop(playerid);
Код:
public IsACop(playerid)
{
	if(IsPlayerConnected(playerid))
	{
	    new leader = PlayerInfo[playerid][pLeader];
	    new member = PlayerInfo[playerid][pMember];
	    if(member==1 || member==2 || member==19)
		{
		    return 1;
		}
		else if(leader==1 || leader==2 || leader==19)
		{
		    return 1;
		}
	}
	return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)