10.06.2017, 15:00
and for again spawn in vehicle
this code will be work?
this code will be work?
Quote:
if(VDMS[playerid] == 1) { if(newstate == PLAYER_STATE_ONFOOT) { new Float:X,Float:Y,Float:Z,Float:angle; new Veh; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,angle); Veh = CreateVehicle(504,X,Y,Z,angle,2,2,200*60000); SetCameraBehindPlayer(playerid); PutPlayerInVehicle(playerid, Veh,0); LinkVehicleToInterior(Veh, 15); } } |