16.06.2010, 19:08
Seria possivel uma maneira de kicar level um se usar qualquer tipo de arma pra evitar aqueles retardado que entra com xiter sу pra zuar o server?
if(GetPlayerWeapon(playerid) == WEAPON_MINIGUN || GetPlayerWeapon(playerid) == WEAPON_ROCKETLAUNCHER) { SendClientMessage(playerid, 0xFFFFFFFF, "Tenйs un arma prohibida"); Kick(playerid); }
Originally Posted by FlowMen
Код:
if(GetPlayerWeapon(playerid) == WEAPON_MINIGUN || GetPlayerWeapon(playerid) == WEAPON_ROCKETLAUNCHER) { SendClientMessage(playerid, 0xFFFFFFFF, "Tenйs un arma prohibida"); Kick(playerid); } |
#define WEAPON_MINIGUN 28
#define WEAPON_ROCKETLAUNCHER 35