[Ajuda] Comando /dararma
#7

Quote:
Originally Posted by focaximubh
Посмотреть сообщение
pawn Код:
if (strcmp("/teste", cmdtext, true, 10) == 0)
{
new OtherPlayer, Arma, Valor;
if(sscanf(params, "uii", OtherPlayer, Arma, Valor)) SendClientMessage(playerid, 0xFF0000AA, "Use: /dararma [id] [Arma][Muniзгo]");

GivePlayerWeapon(OtherPlayer, Arma, Valor);
return 1;
}
Creio que seja isso
Nгo й isso rs, se quiser saber sobre Strcmp e Sscanf, leia meu tutorial sobre o assunto
Reply


Messages In This Thread
Comando /dararma - by vilmar16 - 30.11.2013, 14:52
Re: Comando /dararma - by ScriptGameS - 30.11.2013, 14:56
Re: Comando /dararma - by DarckWilly - 30.11.2013, 14:58
Re: Comando /dararma - by focaximubh - 30.11.2013, 14:59
Re: Comando /dararma - by GReeN_WOoD - 30.11.2013, 15:01
Re: Comando /dararma - by vilmar16 - 30.11.2013, 15:12
Re: Comando /dararma - by Juniiro3 - 30.11.2013, 15:14
Re: Comando /dararma - by vilmar16 - 30.11.2013, 15:32
Re: Comando /dararma - by GReeN_WOoD - 30.11.2013, 15:33
Re: Comando /dararma - by focaximubh - 30.11.2013, 15:34

Forum Jump:


Users browsing this thread: 3 Guest(s)