14.01.2011, 16:01
Bad mistake, here it is:
Replace your rsike command with this one.
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;
}