05.10.2012, 07:09
pawn Код:
CMD:mhill(playerid, params[])
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SetVehiclePos(GetPlayerVehicleID(playerid),-2489.6118,-615.7424,132.1036);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 310.2000);
SetPlayerInterior(playerid, 0);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
}
else
{
SetPlayerPos(playerid,-2538.4004,-612.1431,132.7109);
SetPlayerFacingAngle(playerid, 270.0);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid, 0);
}
return 1;
}