28.10.2012, 08:16
Hello guys. This is my code for TP-ing a player to interior with a vehicle selected by an admin.
The problem is, the vehicle becomes invisible. Any help will be appreciated. Thanks.
Код:
new Float:angle; GetPlayerFacingAngle(playerid,angle); new created=CreateVehicle(cem[playerid][svehicle],X,Y,Z, angle, 1, 1, 0); SetPlayerPos(id,X,Y,Z); PutPlayerInVehicle(id,created, 0);