29.05.2011, 14:14
Im trying to make a stock that will "teleport" a player out of the vehicle. But i dont know if this would work.
Can anybody help me making it or tell me if it should work. ( Im not on my "gaming" computer for 2 weeks so can't test it ). And i don't get any errors.
Thanks .
Can anybody help me making it or tell me if it should work. ( Im not on my "gaming" computer for 2 weeks so can't test it ). And i don't get any errors.
pawn Код:
stock RemoveFromVeh(vehicleid)
{
new Float:x1,Float:y1,Float:z1;
GetVehiclePos(vehicleid,x1,y1,z1);
SetPlayerPosFindZ(playerid, x1, y1, z1);
return 1;
}