[HELP] Spike
#4

Quote:
Originally Posted by EliranPesahov
View Post
Bad mistake, here it is:
Replace your rsike command with this one.
pawn Code:
if(strcmp("/rspike", cmdtext, true, 7) == 0)
{
    if(!IsPlayerInRangeOfPoint(playerid, 1.0, 0, 0, 0)) return SendClientMessage(playerid, 0xFF0000FF, "You is not close to ant spikes");
    RemoveSpike(playerid); //Remove the spike he is close to.
    SendClientMessage(playerid, 0xFF0000FF, "Spike Removed");
    return 1;
}
Nope.. making a block of code isn't a problem, not knowing it may be is. And still you can remove spike only while being in center of map....
Reply


Messages In This Thread
[HELP] Spike - by Larsey123IsMe - 14.01.2011, 15:51
Re: [HELP] Spike - by RSX - 14.01.2011, 16:00
Re: [HELP] Spike - by Toreno - 14.01.2011, 16:01
Re: [HELP] Spike - by RSX - 14.01.2011, 16:06
Re: [HELP] Spike - by Toreno - 14.01.2011, 16:08
Re: [HELP] Spike - by Larsey123IsMe - 14.01.2011, 16:09
Re: [HELP] Spike - by RSX - 14.01.2011, 16:17
Re: [HELP] Spike - by Larsey123IsMe - 14.01.2011, 16:26
Re: [HELP] Spike - by RSX - 14.01.2011, 16:34
Re: [HELP] Spike - by Larsey123IsMe - 14.01.2011, 16:49

Forum Jump:


Users browsing this thread: 1 Guest(s)