SA-MP Forums Archive
[Pedido]Comando /darcombustivel. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido]Comando /darcombustivel. (/showthread.php?tid=264266)



[Pedido]Comando /darcombustivel. - akZ - 25.06.2011

eae to aqui mais uma vez pra pedir uma ajudinha a voces, tipo eu queria um comando que quando voce digitase /darcombustivel enche o tanque de combustivel do player so admin pode usar esse comando, se pode me ajudar ae vlws '


Re: [Ajuda/Pedido]Comando /darcombustivel. - Nake01 - 25.06.2011

Poste as Variaveis do Combustivel !


Re: [Ajuda/Pedido]Comando /darcombustivel. - akZ - 25.06.2011

pawn Код:
new gGas[MAX_PLAYERS];
Man eu acho qe e isso ai (so novo em pawn)


Re: [Ajuda/Pedido]Comando /darcombustivel. - Macintosh - 25.06.2011

Procure pelo sistema de combustнvel que o DraKiNs postou aqui em Lanзamentos/Releases.


Respuesta: [Pedido]Comando /darcombustivel. - Sr.Pekeno - 25.06.2011

Eu acabei esquecendo de colocar isso no meu, o seu GM й muca??


Re: [Pedido]Comando /darcombustivel. - RockFire - 25.06.2011

PHP код:
if(!strcmp(cmdtext,"/darcombustivel",true))
{
    new 
i[2][128],index;
    
i[0] = strtok(cmdtext,index);
    
i[1] = strtok(cmdtext,index);
    
gGas[strval(i[0])] = strval(i[1]);
    return 
true;