Old GTA Version
#1

Hey Guys,

With Grand Theft Auto China Town Wars on Nintendo DS, How you got the Birds Eye View, Is it possible to set SA:MP with Birds Eye View, By having a script like /birdseye and it changes it to a birds eye view, And then /birdseyeoff to turn it off?

Cos I had a few Ideas with my roleplay server, And I want to get it as Unique as possible, So people could play it as Normal, And take a step back Old School, And play it like in the Old Times when it was only Birds Eye View.
Reply
#2

pawn Код:
//top of script

new Float:x123[MAX_PLAYERS], Float:y123[MAX_PLAYERS], Float:z123[MAX_PLAYERS];
new bool:bird[MAX_PLAYERS];

public OnPlayerCommandText(playerid, cmdtext[])
{

  if(strcmp("/birdseye", cmdtext, true, 9) == 0)
  {
    bird[playerid] = true;
    return 1;
  }

  if(strcmp("/birdseyeoff", cmdtext, true, 12) == 0)
  {
    bird[playerid] = false;
    SetCameraBehindPlayer(playerid);
    return 1;
  }

  return 0;
}

public OnPlayerUpdate(playerid)
{
    if(bird[playerid])
    {
        GetPlayerPos(playerid, x123[playerid], y123[playerid], z123[playerid]);
        SetPlayerCameraPos(playerid, x123[playerid], y123[playerid], z123[playerid] + 20);
        SetPlayerCameraLookAt(playerid, x123[playerid], y123[playerid], z123[playerid]);
    }
    return 1;
}
Reply
#3

There're even one released.
http://forum.sa-mp.com/index.php?top...4761#msg704761
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)