#2

You can create a global variable (at the top, under "#include <a_samp>"):
pawn Код:
new IsZombie[MAX_PLAYERS];
And them set them as a zombie as such:
pawn Код:
IsZombie[playerid] = 1;
Or you can use PVar:
pawn Код:
SetPVarInt(playerid, "IsZombie", 1);
And check if they are a zombie with:
pawn Код:
if(GetPVarInt(playerid, "IsZombie") == 1)
Reply


Messages In This Thread
Hey - by FrostedVince - 14.07.2010, 19:59
Re: Hey - by Zezombia - 14.07.2010, 20:05
Re: Hey - by FrostedVince - 14.07.2010, 20:08
Re: Hey - by Finn - 14.07.2010, 20:37
Re: Hey - by FrostedVince - 14.07.2010, 21:10
Re: Hey - by Finn - 14.07.2010, 21:13
Re: Hey - by FrostedVince - 14.07.2010, 21:16
Re: Hey - by FrostedVince - 15.07.2010, 03:49
Re: Hey - by Zezombia - 15.07.2010, 03:52
Re: Hey - by FrostedVince - 15.07.2010, 17:05

Forum Jump:


Users browsing this thread: 1 Guest(s)