[Ajuda] Ajuda Stock
#1

Como posso executar a Stock em um comando COMANDO:
Quote:

CMD:colete3(playerid, params[]) {
SetPlayerKevlarHealth(strval(params), 300.0);
return 1;
}

STOCK:
PHP код:
stock SetPlayerKevlarHealth(playeridFloat:amount){
    new 
id CountAttachedObjects(playerid);
    
playerKevlarHealth[playerid] = amount;
     
haveKevlar[playerid] = true;
    
SetPlayerAttachedObject(playeridid1914210.10.050.0);
    
SetPlayerAttachedObjectEx(19142,Vaga_Colete,playerid,id);
    
SendClientMessage(playerid0xFFFFFFFF"[Informaзгo] Voce colocou seu Colete!");
    
ColocarColete[playerid] = 1;
    return 
1;

Reply


Messages In This Thread
Ajuda Stock - by JhowWatkins - 25.08.2016, 21:57
Re: Ajuda Stock - by arakuta - 25.08.2016, 22:32
Re: Ajuda Stock - by JhowWatkins - 25.08.2016, 22:35
Re: Ajuda Stock - by arakuta - 25.08.2016, 22:36
Respuesta: Ajuda Stock - by SammyJ - 25.08.2016, 22:37
Re: Respuesta: Ajuda Stock - by JhowWatkins - 25.08.2016, 22:57
Respuesta: Re: Respuesta: Ajuda Stock - by SammyJ - 25.08.2016, 23:05
Re: Ajuda Stock - by JhowWatkins - 25.08.2016, 23:11
Re: Ajuda Stock - by arakuta - 25.08.2016, 23:18
Re: Ajuda Stock - by JhowWatkins - 25.08.2016, 23:26

Forum Jump:


Users browsing this thread: 1 Guest(s)