#1

im looking for a script that if a player dose not log in then he gets kicked from the sever a little help plz



thx for ur time


(i have already searched)
Reply
#2

pawn Код:
public OnPlayerSpawn(playerid)
{
  if(!Logged[playerid]) //Your variable to see if the player is logged.
  {
   Kick(playerid);
  }
}
Reply
#3

or you can prevent them from spawning and send them mmessage to login
Reply
#4

how i find my veribale
Reply
#5

pawn Код:
//top of script
new Logged[MAX_PLAYERS];

//in your login command
Logged[playerid] = 1;

//OnPlayerSpawn
if(Logged[playeird] == 0) { Kick(playerid); }
Reply
#6

k thx
Reply
#7

gah im useing siefs admin script witch comes with a register sytem a little help
Reply
#8

Add in the filterscript
pawn Код:
public OnPlayerSpawn(playerid)
{
  if(AccountInfo[playerid][Logged] == 0)
  {
   Kick(playerid);
  }
}
Reply
#9

i get an error saying carnt find md5 but i have it so like it wont creat the amx file
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)