[Ajuda] Code com um warning satanico
#2

vocк nгo retorno nada na public
PHP код:
public OnPlayerUpdate(playerid)
{
    new 
string[32];
    if(!
IsPlayerConnected(playerid)) return 1;
    if(
Vel[playerid] == true)
    {
        
        
GetVehicleHealth(GetPlayerVehicleID(playerid),Vhealth);
        
format(stringsizeof(string), "~r~~h~%d ~w~KM/H",GetVehicleSpeed(playerid),floatround(Vhealth));
        
TextDrawSetString(Velocimetro,string);
        if(
IsPlayerInAnyVehicle(playerid))
        {
            
            
TextDrawShowForPlayer(playerid,Velocimetro);
        }
        else
        {
            
            
TextDrawHideForPlayer(playerid,Velocimetro);
        }
    }
    if(
GetPlayerVirtualWorld(playerid) == 0){
        
SetPlayerHealth(playerid,99999);
        
SetPlayerArmour(playerid,99999);
    }
    return 
1// Faltava Aqui ;D

Reply


Messages In This Thread
Code com um warning satanico - by VinnyScript - 30.03.2015, 02:25
Re: Code com um warning satanico - by Whoo - 30.03.2015, 02:32
Re: Code com um warning satanico - by ipsLuan - 30.03.2015, 02:33
Re: Code com um warning satanico - by VinnyScript - 30.03.2015, 02:35
Re: Code com um warning satanico - by ipsLuan - 30.03.2015, 02:57
Re: Code com um warning satanico - by VinnyScript - 30.03.2015, 03:08

Forum Jump:


Users browsing this thread: 2 Guest(s)