29.10.2011, 07:15
Alright, so I am trying to get a gun when I am in a certain area, but I have been having a problem with this script with it giving me the gun at all times, nonetheless, it says that the command cannot be found yet it processes it, anyways, it is annoying because I am making a RP server and I don't want people to get a weapon anywhere at anytime.
Any help would be greatly appreciated!
Thanks once again,
nmader
ALSO... if anyone is looking for something to map or script for me, I am needing some help for a RP server.
Cheers!
I haven't managed to figure out a /me or /do script out either, so if anyone could help me, it would also be greatly appreciated.
Код:
if (strcmp("/ngun", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid, 287,-76.6236,1136.9253,19.7422,357.2161)) { AC_GivePlayerWeapon(playerid, 24, 500); //Deagle } else { SendClientMessage(playerid, 0xFFFFFFAA, "ERROR: YOU ARE NOT CLOSE ENOUGH TO THE SHACK"); } } return 0;
Thanks once again,
nmader
ALSO... if anyone is looking for something to map or script for me, I am needing some help for a RP server.
Cheers!
I haven't managed to figure out a /me or /do script out either, so if anyone could help me, it would also be greatly appreciated.