GetVehiclePos in OnVehicleDeath
#1

Hi,

Can i getvehiclepos in OnVehicleDeath?
Reply
#2

Quote:
Originally Posted by MerryDeer
Посмотреть сообщение
Hi,

Can i getvehiclepos in OnVehicleDeath?
Yes, you can do it this way, example:

PHP код:
public OnVehicleDeath(vehicleidkillerid)
{
    static 
Float:Pos[3];
    
GetVehiclePos(vehicleidPos[0], Pos[1], Pos[2]);
    
printf("X: %f | Y: %f | Z: %f",Pos[0], Pos[1], Pos[2]);
    return 
true;

PS:Only one example.
Reply
#3

Seriously, you could just go in-game and get your answer in a minute instead of creating a thread.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)