[Map] [MAP] Stunts&Drifts Area - My Second work
#1

Hello
So this is my sevond work in MTA...

OK, Tleports :

/OldAp = Sends you there
/BigJump = Send you a high area
/DOldAp = send you to Drifts area
/OpenOldAp = Open the front gate
/CloseOldAp - Close the front gate

OK
in this map have 64 Objects and 114 cars.

List of Cars :

Nrg-500
34

Monster :
6

Monster A :
2

Monster B :
2

Infernus :
15

Turismo :
9

Bullet :
10

Banshee :
15

Super GT :
6

Sanchez :
15

OK
now 6 pics :













And who wants to take another 10 photos :
http://www.fileflyer.com/view/4DHQGCg

Ok

This clip shows the route of the Drift Region :
OldAp Area - GTA Sa:Mp

I know .. Have DeLay

OK
Now add it to your Mod

Enter this site :
http://pastebin.com/f36c7498

And what it says put under it:

Quote:

public OnGameModeInit()
{

Now
to to the public OnPlayerCommandText and put this here :

Quote:

if(strcmp(cmdtext, "/oldap", true)==0)
{
SetPlayerPos(playerid, 419.0603, 2506.9751, 16.4844);
SetPlayerFacingAngle(playerid, 85.7182);
return 1;
}

if(strcmp(cmdtext, "/bigjump", true)==0)
{
SetPlayerPos(playerid, -443.2862, 2521.0032, 239.4850);
SetPlayerFacingAngle(playerid, 260.961;
return 1;
}

if(strcmp(cmdtext, "/doldap", true)==0)
{
SetPlayerPos(playerid, 149.5744, 2487.4087, 41.2186);
SetPlayerFacingAngle(playerid, 88.1825);
return 1;
}

ok
We added the objects and cars
Now we have to add the gate

so
At the top of your mode :
Quote:

new blat;

now go to public OnGameModeInit and put this here :
Quote:

blat = CreateObject(980, 422.706512, 2506.904785, 18.107769, 0.0000, 0.0000, 270.0000);

Now go to public OnPlayerCommandText and Write this here :

Quote:

if(!strcmp(cmd,"/openoldap",true))
{
MoveObject(blat,422.584836,2506.934082, 23.757744, 3.0);
return 1;
}

if(!strcmp(cmd,"/closeoldap",true))
{
MoveObject(blat, 422.706512, 2506.904785, 18.107769, 3.0);
return 1;
}

And that's it
Sorry about my English

Bye Bye (:
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)