[AJUDA] zcmd
#4

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;
}

tentei assim mas nгo deu certo
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: 3 Guest(s)