one Question anti weaps
#5

Under OnPlayerUpdate,

PHP код:
new Gun GetPlayerWeapon(playerid);
if(
Gun == 35/*RPG*/ || Gun == 36 /*Heatseaker*/ || Gun == 38 /*Minigun*/ && CHECK HERE IF PLAYER IS NOT IN EVENT)
{
     
//if hes hacking.
      
printf("ID %d Hacking %d",playerid,Gun); //make changes here.

Note: This aint the efficient code. You should look at the Anti Weapon Hack tutorials if you want to make a good one. RogueDriffter has some good points.
Reply


Messages In This Thread
one Question anti weaps - by nbx2000 - 23.06.2018, 04:04
Re: one Question anti weaps - by Sew_Sumi - 23.06.2018, 05:50
Re: one Question anti weaps - by nbx2000 - 23.06.2018, 16:20
Re: one Question anti weaps - by Sew_Sumi - 23.06.2018, 22:16
Re: one Question anti weaps - by GTLS - 24.06.2018, 09:37

Forum Jump:


Users browsing this thread: 1 Guest(s)