18.08.2011, 13:16
Код:
(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay)
X, Y, Z - position where to create NRG.
Angle - rotation of the bike.
color1, color2 - colours of the vehicle.
respawn_delay - in what time vehicle will respawn after player exit it.
We need to get player position X, Y, Z and (optional) angle.
You need to create variables wich will save float.
pawn Код:
new Float:X, Float:Y, Float:Z, Float:Angle;
Then after you get position and rotation of player put variables X, Y, Z, Angle into values of CreateVehicle.