07.06.2010, 20:31
Can someone help me? Im trying to make it where police can come on duty, and then when they type that again they come off duty. All I got so far is this:
and no, im not a noob, i got more in my script, i jsut dont want people copying it of. So wat i dont understand is how to make it where on SendClientMessageToAll to say "%s is now on duty as a police officer." and then when he types /police duty again it says "%s is now off duty as a police officer." If you got any info, please let me know!
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/policeduty", true)) { } return 1; }