[Map] HQ/neighborhood
#1

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
Reply
#2

Wow, nice map.
Reply
#3

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

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

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.)
Reply
#6

Really nice
Reply
#7

nice just gotta make it for donators only
Reply
#8

nice man keep it up!
Reply
#9

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
{
Reply
#10

or it may be something in the script
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)