How do I script something like this?
#2

This is the command I have so far that I only want to work when someone is near or inside an Enforcer.

PHP код:
CMD:swat(playeridparams[])
{
    
ShowPlayerDialog(playerid1DIALOG_STYLE_LIST"SWAT GEAR""Standard Gear\nAssault Rifle\nSniper Rifle\nSub Machine Gun\nPump Shotgun""Select""Cancel");
    return 
1;

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?
Reply


Messages In This Thread
How do I script something like this? - by aKnoxx - 25.12.2018, 00:02
Re: How do I script something like this? - by aKnoxx - 25.12.2018, 00:51
Re: How do I script something like this? - by iorp - 25.12.2018, 01:05
Re: How do I script something like this? - by aKnoxx - 25.12.2018, 01:20
Re: How do I script something like this? - by iorp - 25.12.2018, 01:23
Re: How do I script something like this? - by aKnoxx - 25.12.2018, 01:38
Re: How do I script something like this? - by iorp - 25.12.2018, 01:41
Re: How do I script something like this? - by Pottus - 25.12.2018, 02:06
Re: How do I script something like this? - by iorp - 25.12.2018, 02:10
Re: How do I script something like this? - by aKnoxx - 25.12.2018, 02:29

Forum Jump:


Users browsing this thread: 1 Guest(s)