Global variable i think
#4

Sorry for double post, didnt work. It was the same, removed all spikes but that thing staid. Maybe i have to better explain. If someone uses spike command it makes this to go to 1
pawn Код:
spikes[playerid] = 1;
if someone already placed spikes then this happens -
pawn Код:
if (spikes[playerid] == 1) return SendClientMessage(playerid, 0xE01B4CFF, "{ff0000}** {C8D1CC}You already placed spikes!");
So if admin uses command to remove all players spikes on server, then how to get that spikes[playerid] = 1; goes to spikes[playerid] = 0; for everyone?
Reply


Messages In This Thread
Global variable i think - by bleedis - 31.05.2013, 04:17
Re: Global variable i think - by dubyabeast - 31.05.2013, 04:20
Re: Global variable i think - by bleedis - 31.05.2013, 04:22
Re: Global variable i think - by bleedis - 31.05.2013, 17:13
Re: Global variable i think - by Rillo - 31.05.2013, 17:49
Re: Global variable i think - by bleedis - 31.05.2013, 18:19

Forum Jump:


Users browsing this thread: 1 Guest(s)