How can i check if (click to see the rest)
#1

the player it is in front of car, or in back of car ? ( if player is not in vehicle ! )
Reply
#2

nobody knows ?
Reply
#3

hm..
pawn Код:
// TOP
new cars[MAX_VEHICLES];
cars[0] = CreateVehicle(model,x,y,z,colo1,color2,delay);
new Float:x,Float:y,Float:z;
pawn Код:
public OnPlayerUpdate(playerid)
{
    new Float:px,Float:py,Float:pz;
    GetPlayerPos(playerid,px,py,pz);
    GetVehiclePos(cars[0],x,y,z);
    do
    {
          printf("The id: %d is back a vehicle",playerid);
    }
    while(x == px && y == py) // I dont know the distance between, sorry :X
    return 1;
}
Reply
#4

Thanks for trying man, but be serious

Somebody else ?
Reply
#5

EDIT:
Sorry. I didn't see that you need it while he's out of the vehicle
Reply
#6

1 day left

Anybody else ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)