Something I've forgot
#4

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:
pawn Код:
SetTimer("notfaction",2000,true);
And my public

pawn Код:
public notfaction(playerid)
{
if(InFaction[playerid] == 0)
{
cop[playerid] = 0;
grove[playerid] = 0;
SetPlayerColor(playerid,COLOR_WHITE);
return 1;
}
return 1;
}
Reply


Messages In This Thread
Something I've forgot - by bartje01 - 22.01.2011, 22:12
Re: Something I've forgot - by [L3th4l] - 22.01.2011, 22:14
Re: Something I've forgot - by Fj0rtizFredde - 22.01.2011, 22:16
Re: Something I've forgot - by bartje01 - 22.01.2011, 22:18
Re: Something I've forgot - by bartje01 - 22.01.2011, 23:01
Re: Something I've forgot - by WillyP - 22.01.2011, 23:03
Re: Something I've forgot - by bartje01 - 22.01.2011, 23:07
Re: Something I've forgot - by Fj0rtizFredde - 22.01.2011, 23:10
Re: Something I've forgot - by [L3th4l] - 22.01.2011, 23:10
Re: Something I've forgot - by bartje01 - 22.01.2011, 23:19

Forum Jump:


Users browsing this thread: 1 Guest(s)