11.08.2011, 16:57
(
Последний раз редактировалось Laronic; 12.09.2011 в 20:34.
)
Something like this could be really nice!
- GetClosestEnterExitArrowID(playerid) - Returns to the closest Enter/Exit arrow-id to the player
- or
- GetEnterExitArrowID(Float, Float:y, Float:z, Float:radius) - Returns to the closest Enter/Exit arrow-id to the entered posison (X, Y, Z)
- DisableEnterExitArrow(...) - Disables/Removes the arrow
pawn Код:
COMMAND:carrow(playerid, params[])
{
new string[128];
format(string, sizeof(string), "The closest yellow arrow are: %d", GetClosestEnterExitArrowID(playerid));
SendClientMessage(playerid, 0xFF0000AA, string);
}
public OnGameModeInit()
{
DisableEnterExitArrow(1, 3, 18, 126, 174);
return 1;
}