[Ayuda]Creaciуn de /advertencia desde 0 D:
#7

Defines la cantidad de advertencias...

#define MAX_ADV_PLAYER 3

luego un new..

new Advertencia[MAX_PLAYERS];

en onplayerupdate...

if(Advertencia[playerid]==MAX_ADV_PLAYER)
{
Kick(playerid);
}

luego los parametros tipicos serian <playerid> <razуn>(strtok, sscanf)

le agregarias esto Advertencia[JugadorSel[playerid]]++;

como dice chaoz y ya
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)