21.09.2013, 11:06
Hello Again!
I want your Help Friends in managing the Pickups. I created one Pickup, here is the Screen Shot of it.
And I did it's coating like that and It is successfully working.

But I want to make another Pickup on LSPD and I also created it. But I don't know How to Manage it within /enter Command so I can also do /enter there. I want to make a /enter command here and I can But I don't know How to Script 2 Pickups of /enter in one "CMD:enter"
I already did like that but It is giving Errors that "undefined symbol "IsPlayerInRange"
here I want to make /enter CMD.

Help Me Please.
I want your Help Friends in managing the Pickups. I created one Pickup, here is the Screen Shot of it.
And I did it's coating like that and It is successfully working.

PHP код:
CMD:enter(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 5, 1726.8889,-1636.7916,20.2173))
SetPlayerPos(playerid, 1727.1019,-1638.6068,20.2233,3.4334);
SetPlayerInterior(playerid, 18);
return 1;
}
I already did like that but It is giving Errors that "undefined symbol "IsPlayerInRange"
PHP код:
CMD:enter(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 5, 1726.8889,-1636.7916,20.2173))
SetPlayerPos(playerid, 1727.1019,-1638.6068,20.2233,3.4334);
SetPlayerInterior(playerid, 18);
{
if(IsPlayerInRangeOfPoint(playerid, 5, 1236.8489,-1236.7443,10.2003))
SetPlayerPos(playerid, 1427.7419,-1268.6798,10.2249,3.4984); // It is an Example
SetPlayerInterior(playerid, 18);
}
return 1;
}

Help Me Please.