[AJUDA] zcmd
#7

pawn Код:
CMD:celular(playerid,params[])
{
    if(params[0] == 0)                 return SendClientMessage(playerid, COLOR_WHITE, "(INFO) Use: /celular <on/off>");
    if(strcmp(params,"on",true) == 0)  return SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USE CELLPHONE);
    if(strcmp(params,"off",true) == 0) return SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STO PUSECELLPHONE);
   
    SendClientMessage(playerid,-1,"A funзгo selecionada й invбlida.");
    return 1;
}
strtok em 1 parвmetro, NOSSA, NГO VI ISSO.
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)