[GM]Help
#1

I creating my first gamemode .. it has 1200 lines of code now,easy to make.
I now creating AntiCheat in my gamemode.
I created weapon anticheat with..

define BanPlayer(playerid); like

SendClientMessage(playerid,0xblabla,"You banned from this server!");
Ban(playerid);

Код:
new weapon=GetPlayerWeapon(playerid);
if(weapon == weaponid){BanPlayer(playerid);}
and it works....
but now i wanna create vehicle anticheat (hydra,hunter and rhino).. i try

Код:
new vehicle=GetPlayerVehicleID(playerid);
if(vehicle==vehicleid){BanPlayer(playerid);}
( i put that in onplayerupdate) but it not works... how to fix that?
Reply


Messages In This Thread
[GM]Help - by Luka P. - 01.04.2009, 14:49
Re: [GM]Help - by Pyrokid - 01.04.2009, 15:09
Re: [GM]Help - by Luka P. - 01.04.2009, 15:28

Forum Jump:


Users browsing this thread: 1 Guest(s)