[AJUDA] zcmd
#1

quero usar este comando em zcmd

if(strcmp(cmd, "/celular", true) == 0)
{
new text[32];
text = strtok(cmdtext, idx);

if(!strlen(text))
{
SendClientMessage(playerid, COLOR_WHITE, "(INFO) Use: /celular <on/off>");
return 1;
}
if(strcmp(text,"on",true) == 0){
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USE CELLPHONE);
}
else if(strcmp(text,"off",true) == 0)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STO PUSECELLPHONE);
}
return 1;
}
Reply


Messages In This Thread
[AJUDA] zcmd - by 588321 - 02.09.2011, 22:51
Re: [AJUDA] zcmd - by Dolby - 02.09.2011, 23:01
Re: [AJUDA] zcmd - by Dolby - 02.09.2011, 23:06
Re: [AJUDA] zcmd - by 588321 - 02.09.2011, 23:13
Re: [AJUDA] zcmd - by Dolby - 02.09.2011, 23:13
Re: [AJUDA] zcmd - by noobre - 02.09.2011, 23:23
Re: [AJUDA] zcmd - by [S]trong - 02.09.2011, 23:31
Re: [AJUDA] zcmd - by 588321 - 02.09.2011, 23:32
Re: [AJUDA] zcmd - by [S]trong - 02.09.2011, 23:36
Re: [AJUDA] zcmd - by 588321 - 02.09.2011, 23:39

Forum Jump:


Users browsing this thread: 2 Guest(s)