02.11.2014, 00:48
IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z))
The other bits you have in there are unnecessary.
Just like the Cords you have on SetPlayerPos
I assume this is for the Dillimore Police Station so here's what I have for you.
The other bits you have in there are unnecessary.
Just like the Cords you have on SetPlayerPos
I assume this is for the Dillimore Police Station so here's what I have for you.
Код:
CMD:enter(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 2.0, 627.3657, -571.5280, 17.8458)) { SetPlayerPos(playerid, 247.0330,65.7600,1003.6406); SetPlayerInterior(playerid, 6); SetPlayerVirtualWorld(playerid, 5); } if(IsPlayerInRangeOfPoint(playerid, 2.0, 100,611.1243, -582.5122, 17.3781)) { SetPlayerPos(playerid, 247.0330,65.7600,1003.6406); SetPlayerInterior(playerid, 6); SetPlayerVirtualWorld(playerid, 5); } return 1; }