[AJUDA] Kick se usar arma
#1

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?
Reply
#2

Код:
if(GetPlayerWeapon(playerid) == WEAPON_MINIGUN || GetPlayerWeapon(playerid) == WEAPON_ROCKETLAUNCHER)
{
  SendClientMessage(playerid, 0xFFFFFFFF, "Tenйs un arma prohibida");
  Kick(playerid);
}
Section Spanish
Reply
#3

Quote:
Originally Posted by FlowMen
Код:
if(GetPlayerWeapon(playerid) == WEAPON_MINIGUN || GetPlayerWeapon(playerid) == WEAPON_ROCKETLAUNCHER)
{
  SendClientMessage(playerid, 0xFFFFFFFF, "Tenйs un arma prohibida");
  Kick(playerid);
}
Section Spanish
provavelmente deve faltar la no topo do GM:

pawn Код:
#define WEAPON_MINIGUN 28
#define WEAPON_ROCKETLAUNCHER 35

PS: so vim aqui responder a esta duvida...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)