14.11.2010, 20:39
(
Последний раз редактировалось patfay; 14.11.2010 в 21:06.
)
Well, I have a /elevator command for my PD. I have it set to a certain point inside the interior and outside the exterior. I can use /elevator inside the entire SF PD interior, and I can use it through the entire city for my RP server, which is Fort Carson.
I need it so you can only use it when you are near the set destination.
Here is my command
I need it so you can only use it when you are near the set destination.
Here is my command
Код:
command(elevator, playerid, params[]) { #pragma unused params if(IsPlayerInRangeOfPoint(playerid, 2933, -218.80146790, 1007.80938721, 20.42116928) || IsPlayerInRangeOfPoint(playerid, 0, -218.832098, 984.969726, 19.158166)) { if(Groups[Player[playerid][Group]][CommandTypes] == 1 || Groups[Player[playerid][Group]][CommandTypes] == 4) { ShowPlayerDialog(playerid, 3928, DIALOG_STYLE_LIST, "Elevator", "Vehicles\nInterior", "Select", "Cancel"); } } return 1; }