[AJUDA] zcmd
#8

por favor nгo faзam disso um chat, sу "pedi" um exemplo de como tenho que fazer o comando.

Quote:
Originally Posted by Nathy.SA-MP
Посмотреть сообщение
pawn Код:
CMD:celular(playerid, params[])
{
    static str[50];
    if(sscanf(params,"s[50]", 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;
}
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: 2 Guest(s)