23.05.2010, 13:47
How can i do this?
I want to do this, but i forgot how i can make this only for admins..
So if a non-admin types /heal it says you aren ot a admin and if a
admin does this is must heal the player to 100 HP...
Quote:
if (strcmp("/heal", cmdtext, true, 10) == 0) { SendClientMessage(playerid, COLOR_YELLOW, "You are succefully healed!"); SetPlayerHealth(playerid, 100); return SendClientMessage(playerid,COLOR_RED,"Sorry, you are not a Admin!"); } |
So if a non-admin types /heal it says you aren ot a admin and if a
admin does this is must heal the player to 100 HP...