Old GTA Version - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Old GTA Version (
/showthread.php?tid=94130)
Old GTA Version -
Jbosh123 - 28.08.2009
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.
Re: Old GTA Version -
dice7 - 28.08.2009
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;
}
Re: Old GTA Version -
Djiango - 28.08.2009
There're even one released.
http://forum.sa-mp.com/index.php?top...4761#msg704761