02.09.2011, 23:13
Quote:
CMD:celular(playerid, params[]) { static str[81]; if(sscanf(params,"u", str)) return SendClientMessage(playerid, -1, "(INFO) Use: /celular <on/off>"); if(!strcmp(str,"on",true)) return SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USE CELLPHONE); if(!strcmp(str,"off",true)) return SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STO PUSECELLPHONE); return 1; } |