05.02.2014, 18:46
Код:
dcmd_hydra(playerid,params[]) { SetPlayerPos(playerid,2494.4041,-1666.5985,13.3438); new Float:x, Float:y, Float:z, Float:angle; GetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(playerid, angle); new vehicleid=CreateVehicle(520, x, y, z, angle, -1, -1, -1); PutPlayerInVehicle(playerid, vehicleid, 0); SetVehicleVirtualWorld(vehicleid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(vehicleid, GetPlayerInterior(playerid)); ChangeVehicleColor(vehicleid,0,3); return 1; }