Quote:
Originally Posted by [xB]Lordz
pawn Код:
CMD:drag(playerid, params[]) { if(IsPlayerInAnyVehicle(playerid)){ new veh = GetPlayerVehicleID(playerid); SetPlayerHealth(playerid, 100); SetVehicleZAngle(veh, 0); SetCameraBehindPlayer(playerid); LinkVehicleToInterior(veh, 0); SetCameraBehindPlayer(playerid); SetVehicleVirtualWorld(veh, 3); PutPlayerInVehicle(playerid, veh, 0); GameTextForPlayer(playerid,"~y~Welcome to ~n~~b~Drag Area",2000,3); } else { SetCameraBehindPlayer(playerid); SetPlayerFacingAngle( playerid, 0); SetPlayerHealth(playerid, 100); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 3); } return 1; }
|
Yo lordz! Still same problem. It automatically destroy the vehicle after teleporting in drag. If I leave the animation is like I get killed (zooming out) but hp still full, weird o_0..
EDIT: NOT ONLY in that drag problem exist in world 1 and above. the vehicle doesn't link.