20.11.2011, 18:29
I am not sure, but is possible with GetPVarInt?
pawn Код:
CMD:example(playerid, params[])
{
if(GetPVarInt(playerid, "example") == 0) {
// Code
SetPVarInt(playerid, "example", 1);
}
else if(GetPVarInt(playerid, "example") == 1) {
// Code
SetPVarInt(playerid, "example", 0);
}
return 1;
}