Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

[Ajuda] SetVehicleHealth nao repara por completo,

$
0
0
kara tou usando
HTML Code:

if(dialogid==CARRO_MOD){
        if(response){
        switch(listitem){
        case 0:{
       
        if(IsPlayerInAnyVehicle(playerid)&& GetPlayerMoney(playerid)>=300){
        new Float:life=1000;
        new v=GetPlayerVehicleID(playerid);
        SetVehicleHealth(v,life);
       
        GivePlayerMoney(playerid,-300);
        }else{
        SendClientMessage(playerid,-1,"voce nao tem dinheiro suficiente");
       
        }
        }
       
       
        }
       
       
        }
        }

mas o carro nao repara totalmente so a metade, e assim mesmo? boa night

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>