03.09.2009, 15:37
>>>>>>Ignore Indentation<<<<<<<<
I'm Making a Anti-Cheat for my server, So Far I have set the timer and all of that, now:
I want the next one to be a flamethrower! do I have to do it like this?:
Or Just keep it like this:
I'm Making a Anti-Cheat for my server, So Far I have set the timer and all of that, now:
Код:
public anticheat() { if(weaponid == 38) //minigun { BanEx( playerid, "MiniGun Hacking" ); } }
Код:
public anticheat() { if(weaponid == 38) //minigun { BanEx( playerid, "MiniGun Hacking" ); } else if(weaponid == 37) //flamethrower { BanEx( playerid, "Flamethrower Hacking" ); } }
Код:
public anticheat() { if(weaponid == 38) //minigun { BanEx( playerid, "MiniGun Hacking" ); } if(weaponid == 37) // { BanEx( playerid, "flamethrower Hacking" ); } }