LS Admin Base
#1

This is my first base that I make, so I hope you'll like it.
I made it Admin Base because I had nothing to do. . It's located in LS near the "Trans Fender".
The main gate command is: /basegts (You can also change it, if you want)
In the base are:
1) Infernus, 2) Monster,
3) Sultan, 4) Hunter,
5) Maverick, 6) BF Injection,
7) Banshee, Stretch,
9) Landstalker,10) Jester,
11) ZR-350, 12)Slamvan,

Screenshots:
Where you can find:

Main gates:

Cars:

From gates:

House:

Dragon:

In garage:

Backyard:

From air:

Special items:


Only, you can't go in the house because I don't now how to make a house icon
You can download it HERE !
Sorry for my bad English, I am Latvian.
Reply
#2

Seems crazy
So, the main gate is automatic?
Reply
#3

How is it automatic? No, the gate is /basegts
Reply
#4

Quote:
Originally Posted by Cookie_CreeMy
How is it automatic? No, the gate is /basegts
oops, I meant does it close automatically?
Reply
#5

Nice.
I have a warning: "warning 209: function "OnPlayerCommandText" should return a value"

Can you fix this?
And can you make the exit bigger? because of the Monster Truck?


Thx.
Reply
#6

Quote:
Originally Posted by Xpl0ad3r
Nice.
I have a warning: "warning 209: function "OnPlayerCommandText" should return a value"

Can you fix this?
And can you make the exit bigger? because of the Monster Truck?


Thx.
Just add return 1; to that line, like this

Код:
public OnPlayerConnect(playerid)

{
	GameTextForPlayer(playerid,"~w~SA:MP Area51 Break-in!",4000,3);
	SetPlayerColor(playerid,COLOR_GREY);
	return 1;

}
Notice the return1;

Reply
#7

It works with:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/system7", cmdtext, true, 6) == 0)
	{
		if(mainigais == 0)
		{
			SendClientMessage(playerid, 0x33AA33AA,"The gate was opened");
			MoveObject(baze, 1017.226563, -913.239319, 38.000492, 3);
			mainigais = 1;
		}
		else
		{
			SendClientMessage(playerid, 0xAA3333AA,"The gate was closed");
			MoveObject(baze, 1017.226563, -913.239319, 43.000492, 3);
			mainigais = 0;
		}
		return 1;
	}

	return 0;
}
Reply
#8

Quote:
Originally Posted by ☮ DjSkca ☼
Quote:
Originally Posted by Cookie_CreeMy
How is it automatic? No, the gate is /basegts
oops, I meant does it close automatically?
No, if you type the /basegts again it will close.
Reply
#9

About the pickup, I made a very brief demonstration here:

Along with your variables:
pawn Код:
new bob;
OnGameModeInit/OnFilterscriptInit:
pawn Код:
bob = CreatePickup(1277, 23, X, Y, Z);
This callback is already on the template, search for it:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == bob)
    {
    //Do stuff here, like SetPlayerPos() etc!
    }
    return 1;
}
If you need anymore help private message me and i'll make you a more formal demonstration!
Reply
#10

Bug fixed.

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)