Restriction on player spawn request
#2

the sendclientmessage function returning with 1... you need to return with 0.

public OnPlayerRequestSpawn(playerid)
{
if(gTeam[playerid] == FBI && GetPlayerCop(playerid, pInfo[playerid][Cop]) < 100) return SendClientMessage(playerid, COLOR_RED,"You need 100 cop skills to spawn as F.B.I "), 0;
return 1;
}
Reply


Messages In This Thread
Restriction on player spawn request - by Oshery - 06.01.2018, 20:10
Re: Restriction on player spawn request - by m4karow - 06.01.2018, 20:11
Re: Restriction on player spawn request - by Oshery - 06.01.2018, 20:48

Forum Jump:


Users browsing this thread: 1 Guest(s)