[Map] Base in San Fierro
#1

Hello everyone,
I made this map for my script, but it's good so I decided to release it for you guys!


Here are some screen shots:









About the gates, if you want the gates, use the first link given, and add these codes to your script:
On the top of the script:

pawn Код:
new ChinaGate;
new ChinaGate2;
And for the command to open the gate:
pawn Код:
CMD:opengate(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 10.0, -2696.3000488,-47.0000000,4.9000001))
{
MoveObject(ChinaGate, -2696.3999023,-40.7000008,4.9000001, 1.5);
SendClientMessage(playerid, COLOR_GREEN," You have successfully opened the gate!");
}

if(IsPlayerInRangeOfPoint(playerid, 10.0, -2614.0000000,-43.0999985,4.9000001))
{
MoveObject(ChinaGate2, -2614.0000000,-49.4000015,4.900, 1.5);
SendClientMessage(playerid, COLOR_GREEN,"You have successfully opened the gate!");
}
return 1;
}
To close the gates:
pawn Код:
CMD:closegate(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 10.0, -2696.3000488,-47.0000000,4.9000001))
{
MoveObject(ChinaGate, -2696.3000488,-47.0000000,4.9000001, 1.5);
SendClientMessage(playerid, COLOR_GREEN," You have successfully closed the gate!");
}

if(IsPlayerInRangeOfPoint(playerid, 10.0, -2614.0000000,-43.0999985,4.9000001))
{
MoveObject(ChinaGate2, -2614.0000000,-43.0999985,4.9000001, 1.5);
SendClientMessage(playerid, COLOR_GREEN, "You have successfully closed the gate!");
}
return 1;
}
Pastebin Links:
With gates:
Click me.
Without gates:
Click me.


Hope you guys like it!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)