25.12.2018, 00:51
This is the command I have so far that I only want to work when someone is near or inside an Enforcer.
It works fine in-game right now but I just want to make it not work unless someone is near or inside an Enforcer. Does anyone know how to do this?
PHP код:
CMD:swat(playerid, params[])
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "SWAT GEAR", "Standard Gear\nAssault Rifle\nSniper Rifle\nSub Machine Gun\nPump Shotgun", "Select", "Cancel");
return 1;
}