Indestructible body
#1

Hey, can you tell me how to do bodywork on vehicles immediately to mending, best not to have to command. thank you.
Reply
#2

pawn Код:
public OnPlayerUpdate(playerid)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        RepairVehicle(GetPlayerVehicleID(playerid));
    }

    return 1;
}
Reply
#3

What do you mean? that vehicle will never take damage?
Reply
#4

Better to use OnVehicleDamageStatusUpdate.
Reply
#5

Quote:
Originally Posted by DaniceMcHarley
Посмотреть сообщение
What do you mean? that vehicle will never take damage?
Yes;

Quote:
Originally Posted by Gruszex
Посмотреть сообщение
bodywork on vehicles immediately mending
EDIT:

Quote:
Originally Posted by Vince
Посмотреть сообщение
Better to use OnVehicleDamageStatusUpdate.
Yeah, if there's any alternative that allows you to check vehicle damage than OnPlayerUpdate; use it.
Reply
#6

Thank you Mionee
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)