SA-MP Forums Archive
Server Scripting - LC Co-ordinates (Liberty City) - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Server Scripting - LC Co-ordinates (Liberty City) (/showthread.php?tid=27101)



Server Scripting - LC Co-ordinates (Liberty City) - KillerBaby - 21.02.2008

Basicly, i need the co-ordinates for Saint mark's bistro, . I Have found some before, on one of the coordinates i find the hidden blip, well i can see it, then i begin falling through he sky just above the light green circle on the map in red country. The next it teleports me to the Easter bay airport in san fierro, but i cannot see anything. I Have watched videos on ******* to try and obtain these co-ordintes but don't work, Although they work for the Original SA (not using SAMP). I have also seen videos of servers that have a command for it, i have the command script sorted, just need the exact co-ordinates.
Can someone help me with that? , i'd be thankfull to anyone who has them.


Re: Server Scripting - LC Co-ordinates (Liberty City) - mamorunl - 21.02.2008

did you set your interior? Liberty city is an interior


Re: Server Scripting - LC Co-ordinates (Liberty City) - de.yacoo - 21.02.2008

Код:
if (strcmp(cmdtext, "/lc", true) == 0)
{
   SetPlayerInterior(playerid, 1);
   SetPlayerFacingAngle(playerid, 270);
   SetPlayerPos(playerid, -900.698913,458.643615,1346.875000);
   SendClientMessage(playerid, 0xFFFFFFAA, "Liberty City Crossroads");
   SendClientMessage(playerid, 0xFF0000AA, "North, West, and South roads are NON-SOLID!");
   return 1;
}

if (strcmp(cmdtext, "/lc-bistro", true) == 0)
{
   SetPlayerInterior(playerid, 1);
   SetPlayerFacingAngle(playerid, 0);
   SetPlayerPos(playerid, -794.9109,493.3645,1376.1953);
   SendClientMessage(playerid, 0xFFFF00AA, "Liberty City Bistro");
   return 1;
}

if (strcmp(cmdtext, "/lc-ally", true) == 0)
{
   SetPlayerInterior(playerid, 1);
   SetPlayerFacingAngle(playerid, 90);
   SetPlayerPos(playerid, -742.647227,568.901855,1371.618041);
   SendClientMessage(playerid, 0xFFFFFFAA, "Liberty City Back Ally");
   SendClientMessage(playerid, 0xFF0000AA, "Only snow is solid, DO NOT LEAVE INTO THE STREETS!");
   return 1;
}
SEARCH.


Re: Server Scripting - LC Co-ordinates (Liberty City) - KillerBaby - 21.02.2008

I Tried using the Code, I Noticed it says SetPlayerPos, (So i knew it couldn't be just to set the interior) Which is a teleport command, i copy'd the Code correctly yet the commands don't work, I Enter them and nothing happens atall... can Someone help me with this?


Re: Server Scripting - LC Co-ordinates (Liberty City) - Rks25 - 21.02.2008

Where did you place them?
Below onplayercommandtext right??

Rksss


Re: Server Scripting - LC Co-ordinates (Liberty City) - KillerBaby - 21.02.2008

Quote:
Originally Posted by [NL
Rksss ]
Where did you place them?
Below onplayercommandtext right??

Rksss
Yes, right in that section, Below my /kill and /givecash commands.


Re: Server Scripting - LC Co-ordinates (Liberty City) - de.yacoo - 21.02.2008

SetPlayerInterior(playerid, 1);
Doesnt that work?
O.O

EDIT: Tested, it works.


Re: Server Scripting - LC Co-ordinates (Liberty City) - KillerBaby - 21.02.2008

Quote:
Originally Posted by Yacoo
SetPlayerInterior(playerid, 1);
Doesnt that work?
O.O

EDIT: Tested, it works.
I Tried an got rid of everything that section and put it in, its just for some reason, i can't use the commads, the commands so nothing, :S.


Re: Server Scripting - LC Co-ordinates (Liberty City) - KillerBaby - 24.02.2008

Quote:
Originally Posted by Yacoo
SetPlayerInterior(playerid, 1);
Doesnt that work?
O.O

EDIT: Tested, it works.
It works fine now, Just that i forgot to put it under a seperator, lol. :P.


Re: Server Scripting - LC Co-ordinates (Liberty City) - [AC]Flow - 13.05.2010

ay how did u do the thing where to leave the bistro and u press LMB? the red circle