04.08.2015, 09:54
Hi! In my server I have a ramp spawning system and I made it so for them to spawn by pressing "Caps" only if you type /R, theres a way to make if the player types /R again the ramp spawning turns off?
Here's the code:
Thanks in advance!
Here's the code:
Quote:
new g_Ramp[MAX_PLAYERS]; |
Quote:
if (strcmp("/R", cmdtext, true, 5) == 0) { g_Ramp[playerid] = 1; } |