06.01.2011, 21:05
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
#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

