25.02.2010, 13:45
Hey Guys,
I noticed, that the 0.3 function RepairVehicle doesn't work on my server.
Is there a problem in my script or with the vehicle streamer?
I noticed, that the 0.3 function RepairVehicle doesn't work on my server.
Is there a problem in my script or with the vehicle streamer?
Код:
if(strcmp(cmd, "/fixveh", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
RepairVehicle(playerid);
}
return 1;
}
}
return 1;
}

