[AJUDA] Comandos
#2

pawn Код:
CMD:darsocio(playerid, params[])
{
   new id,nivel;
   if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1,"Vocк nгo й admin");
   if(sscanf(params,"ud",id,nivel)) return SendClientMessage(playerid,-1,"Use: /darsocio [id] [nivel]");
   VariaveldoVIP[id] = nivel;
   GivePlayerMoney(id, GRANAQUETUQUER);
   SetPlayerScore(id, LEVELQUETUQUER);
   return true;
}
Pronto, ai tem uma base em zcmd e sscanf, se vocк usar strcmp e strtok й sу modificar , mais ja tem uma base *-*
Reply


Messages In This Thread
[AJUDA] Comandos - by Rodrigo_Avenged - 06.01.2012, 13:50
Re: [AJUDA] Comandos - by AleeFerreira - 06.01.2012, 13:59
Re: [AJUDA] Comandos - by Rodrigo_Avenged - 06.01.2012, 14:06
Re: [AJUDA] Comandos - by AleeFerreira - 06.01.2012, 14:10
Re: [AJUDA] Comandos - by Rodrigo_Avenged - 06.01.2012, 14:22
Re: [AJUDA] Comandos - by Rodrigo_Avenged - 06.01.2012, 14:35
Re: [AJUDA] Comandos - by AleeFerreira - 06.01.2012, 14:38
Re: [AJUDA] Comandos - by Rodrigo_Avenged - 06.01.2012, 16:24
Re: [AJUDA] Comandos - by Rodrigo_Avenged - 06.01.2012, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)