22.01.2011, 22:18
Don't want to make another thread:
New problem is that I have a timer that needs to set your color to white if you're not in any faction.
It doesn't work :[
@top I have:
forward notfaction(playerid);
@ OnGameModeInit I have:
And my public
New problem is that I have a timer that needs to set your color to white if you're not in any faction.
It doesn't work :[
@top I have:
forward notfaction(playerid);
@ OnGameModeInit I have:
pawn Код:
SetTimer("notfaction",2000,true);
pawn Код:
public notfaction(playerid)
{
if(InFaction[playerid] == 0)
{
cop[playerid] = 0;
grove[playerid] = 0;
SetPlayerColor(playerid,COLOR_WHITE);
return 1;
}
return 1;
}