Simple Help
#7

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.
Reply


Messages In This Thread
Simple Help - by kbalor - 31.08.2012, 02:42
Re: Simple Help - by Johnson_Brooks - 31.08.2012, 02:46
Re: Simple Help - by kbalor - 31.08.2012, 02:54
Re: Simple Help - by Johnson_Brooks - 31.08.2012, 02:56
Re: Simple Help - by kbalor - 31.08.2012, 03:00
Re: Simple Help - by Lordzy - 31.08.2012, 03:02
Re: Simple Help - by kbalor - 31.08.2012, 03:22
Re: Simple Help - by Lordzy - 31.08.2012, 03:48

Forum Jump:


Users browsing this thread: 1 Guest(s)