17.10.2009, 13:28
I want to create a vehicle and put the player in it.
Here is a code:
But nothing happens, the vehicle does not create.
Please help me.
Here is a code:
Код:
........... new carid; new Float:x = 0.0, Float:y = 0.0, Float:z = 0.0, Float:a = 0.0; GetPlayerFacingAngle(playerid, a); GetPlayerPos(playerid, x, y, z); SendClientMessage(playerid,COLOR_YELLOW,"bla bla bla"); carid = CreateVehicle(vid, x, y, z, a, 0, 0, 0); PutPlayerInVehicle(playerid,carid,0); ...........
Please help me.