one question
#7

Quote:
Originally Posted by SilentHuntR
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/OnVehicleDamageStatusUpdate

pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
    RepairVehicle(vehicleid);
    return 1;
}
same as godmode
Sorry but this is probably the worst option, as this callback only gets called when a vehicle gets visibly damage, which not every vehicle can be (boats, planes, and any 2 wheel vehicle etc do not have visible elements that can be damaged). Test your code with an NRG500 or a plane for example.
Reply


Messages In This Thread
one question - by marrcko - 08.01.2011, 09:48
Re: one question - by Kyosaur - 08.01.2011, 09:55
Re: one question - by marrcko - 08.01.2011, 11:21
Re: one question - by marrcko - 08.01.2011, 21:31
Re: one question - by Kyosaur - 08.01.2011, 23:15
Re: one question - by Joe Staff - 08.01.2011, 23:17
Re: one question - by Kyosaur - 08.01.2011, 23:24
Re: one question - by marrcko - 09.01.2011, 09:16

Forum Jump:


Users browsing this thread: 2 Guest(s)