help with merging /enter - 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)
+--- Thread: help with merging /enter (
/showthread.php?tid=439739)
help with merging /enter -
Dare Devil..... - 26.05.2013
So I wanted like to use /enter command for like 5-6 places I dont know how to make it can any one do it for me
CMD I made
pawn Код:
CMD:enter(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, -2649.5574,381.3660,6.1593))
SetPlayerPos(playerid,246.783996,63.900199,1003.640625);
SetPlayerInterior(playerid,6);
}
return 1;
}
The thing I want to add
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 7.0, -2672.0261,259.0808,4.6328))
SetPlayerPos(playerid,369.579528,-4.487294,1001.858886);
SetPlayerInterior(playerid,9);
Re: help with merging /enter -
mahdi499 - 26.05.2013
pawn Код:
CMD:enter(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, -2649.5574,381.3660,6.1593))
{
SetPlayerPos(playerid,246.783996,63.900199,1003.640625);
SetPlayerInterior(playerid,6);
}
elseif(IsPlayerInRangeOfPoint(playerid, 7.0, -2672.0261,259.0808,4.6328))
{
SetPlayerPos(playerid,369.579528,-4.487294,1001.858886);
SetPlayerInterior(playerid,9);
}
return 1;
}
Not Tested
Re: help with merging /enter -
Dare Devil..... - 27.05.2013
Dude there is one problem I am randomly placed in any intrior if not near some place range I mean