Problem with Commands and how they are ordered
#1

Im not sure really how to ask how to Fix this.
But when I Type in /killspawnpoint. Which is a command of mine.
It triggers /kill

Код:
   			if (strcmp("/kill", cmdtext, true, 5) == 0)
	{
     SendClientMessage(playerid, COLOR_WHITE, "Killed");
	 SetPlayerHealth(playerid, 0.00);
    return 1;
	}
Thats the /kill code. what do I Need to change For it to only work if it is ONLY written /kill not anything like it :P

Thanks Lads
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)