19.01.2012, 18:26
Find the interior world for those coordinates.. http://weedarr.wikidot.com/interior
Thats all I guess
PHP Code:
if (strcmp("/enterammunation", cmdtext, true, 10) == 0)
{
if (IsPlayerInRangeOfPoint(playerid, 5.0, -0.4174, 2525.6877, 16.4844)) //The coordinates you gave of the outside of ammunation.. Range to be in is 5 meter
{
SetPlayerPos(playerid,X, Y, Z); // Find the coordinates on samp wiki.
SetPlayerInterior(playerid, interiorID); // The interior World should be on weedarr.wikidot
return 1;
}
else return SendClientMessage(playerid, 0xFF0E0063, "You are not at the entrance of ammunation");
}