SA-MP Forums Archive
[Map] HQ/neighborhood - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Maps (https://sampforum.blast.hk/forumdisplay.php?fid=64)
+---- Thread: [Map] HQ/neighborhood (/showthread.php?tid=157281)



HQ/neighborhood - tal4840 - 06.07.2010

This is my first release.
Hope you guys like it.
imags:


For more(10+?) imags:
/imageshack/gal.php?g=samp084h.png
249 objects.
12 vehicles.
[ I used Mideo stremer, if you have another, just re-convert them to your stremer =] ]

http://pastebin.com/uPcSqmvF

[I uploaded to regualr CreateObject, but it goes over the limit so if you have other streamers, re-convert this.]
http://pawn.pastebin.com/NBVGjUbi

to line 251=object
from line 251=vehicles.
(In the pics you see the house pickups(white arrow/green house(not the small on‌e =]), afcurse, i'm giving you ONLY the object. If you want pickups, make them.)
BTW,
I'm not giving you my interiors(pickups..) beacuse I mapped the intreiors and I don't want to make a mass!

The command to teleport to there:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/HQ",true) ==0)
	{
	SetPlayerPos(playerid,2899.4462890625,-2051.6342773438,4);
	SendClientMessage(playerid, COLOR_BLUE,"drive your way through to the HQ.");
	SetPlayerInterior(playerid, 0);
	return 1;
	}
The commmand to open the gate[same public..]
Код:
if(strcmp(cmdtext, "/123",true) == 0)
	{
	if(PlayerToPoint(5,playerid,3941.5009765625, -2053.8186035156, 4.1621551513672))
	{
	MoveStreamObject(ghq,3941.5009765625, -2053.8186035156,0,5);
	MoveStreamObject(keyp1,3941.5380859375, -2053.4250488281,0,5);
	MoveStreamObject(keyp2,3941.5380859375, -2054.275390625,0,5);
	MoveStreamObject(keyp3,3941.5380859375, -2053.37109375,0,5);
	MoveStreamObject(keyp4,3941.5380859375, -2054.2470703125,0,5);
	SendClientMessage(playerid,COLOR_GREEN,"Accsses granted.");
	}
	else
	{
	SendClientMessage(playerid,COLOR_RED,"You are not near any keypads.");
	}
	return 1;
	}
The command to CLOSE the gate:
Код:
	if(strcmp(cmdtext, "/c123",true) == 0)
	{
	if(PlayerToPoint(5,playerid,3941.5009765625, -2053.8186035156, 4.1621551513672))
	{
	MoveStreamObject(ghq,3941.5009765625, -2053.818359375, 4.1621551513672,5);
	MoveStreamObject(keyp1,3941.5380859375, -2053.4250488281, 4.2109117507935,5);
	MoveStreamObject(keyp2,3941.5380859375, -2054.275390625, 4.1756329536438,5);
	MoveStreamObject(keyp3,3941.5380859375, -2053.37109375, 4.1348905563354,5);
	MoveStreamObject(keyp4,3941.5380859375, -2054.2470703125, 4.1441578865051,5);
	SendClientMessage(playerid,COLOR_GREEN,"gate closed.");
	}
	else
	{
	SendClientMessage(playerid,COLOR_RED,"You are not near any gates.");
	}
	return 1;
	}
You may edit the commands if you wish.

Please rate(10-1) and comment


Re: HQ/neighborhood - iZN - 06.07.2010

Wow, nice map.


Re: HQ/neighborhood - tal4840 - 06.07.2010

Quote:
Originally Posted by arbash
Посмотреть сообщение
Wow, nice map.
thanks =]
trying my best.
more comments?


Re: HQ/neighborhood - [SF]Bamdude37 - 06.07.2010

Looks really cool! That would be a nice donator island I think


Re: HQ/neighborhood - tal4840 - 08.07.2010

Quote:
Originally Posted by [SF]Bamdude37
Посмотреть сообщение
Looks really cool! That would be a nice donator island I think
Can be.

Commands to teleport+open the gate added(Beacuse I forgot.)


Re: HQ/neighborhood - hab2ever - 09.07.2010

Really nice


Re: HQ/neighborhood - Septimus314 - 01.08.2010

nice just gotta make it for donators only


Re: HQ/neighborhood - Mr.Jvxmc - 01.08.2010

nice man keep it up!


Re: HQ/neighborhood - romanul12 - 07.08.2010

help me please i dont get it to work so i put it on OnGameModeInit no? and commands... just let me show you.
maybe is this maybe not.. it says unable to load .. any help?
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/HQ",true) ==0)
{
SetPlayerPos(playerid,2899.4462890625,-2051.6342773438,4);
SendClientMessage(playerid, COLOR_BLUE,"drive your way through to the HQ.");
SetPlayerInterior(playerid, 0);

return 1;
}
if(strcmp(cmdtext, "/123",true) == 0)
{
if(PlayerToPoint(5,playerid,3941.5009765625, -2053.8186035156, 4.1621551513672))
{
MoveStreamObject(ghq,3941.5009765625, -2053.8186035156,0,5);
MoveStreamObject(keyp1,3941.5380859375, -2053.4250488281,0,5);
MoveStreamObject(keyp2,3941.5380859375, -2054.275390625,0,5);
MoveStreamObject(keyp3,3941.5380859375, -2053.37109375,0,5);
MoveStreamObject(keyp4,3941.5380859375, -2054.2470703125,0,5);
SendClientMessage(playerid,COLOR_GREEN,"Accsses granted.");
}
else
{
SendClientMessage(playerid,COLOR_RED,"You are not near any keypads.");
}
return 1;
}
if(strcmp(cmdtext, "/c123",true) == 0)
{
if(PlayerToPoint(5,playerid,3941.5009765625, -2053.8186035156, 4.1621551513672))
{
MoveStreamObject(ghq,3941.5009765625, -2053.818359375, 4.1621551513672,5);
MoveStreamObject(keyp1,3941.5380859375, -2053.4250488281, 4.2109117507935,5);
MoveStreamObject(keyp2,3941.5380859375, -2054.275390625, 4.1756329536438,5);
MoveStreamObject(keyp3,3941.5380859375, -2053.37109375, 4.1348905563354,5);
MoveStreamObject(keyp4,3941.5380859375, -2054.2470703125, 4.1441578865051,5);
SendClientMessage(playerid,COLOR_GREEN,"gate closed.");
}
else
{


Re: HQ/neighborhood - romanul12 - 07.08.2010

or it may be something in the script