SA-MP Forums Archive
Help[Include]GameModeLocked - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help[Include]GameModeLocked (/showthread.php?tid=240272)



Help[Include]GameModeLocked - catamarg1 - 15.03.2011

Please give and me GameModeLocked.inc! Please give and me.


Re: Help[Include]GameModeLocked - Medal Of Honor team - 15.03.2011

please describe it more? What do you mean by gamemode lock? Do you mean encrypting data or locking server?


Re: Help[Include]GameModeLocked - catamarg1 - 15.03.2011

Quote:
Originally Posted by Medal Of Honor team
Посмотреть сообщение
please describe it more? What do you mean by gamemode lock? Do you mean encrypting data or locking server?
The gamemode not function never #include <GameModeLocked>


Re: Help[Include]GameModeLocked - Sasino97 - 15.03.2011

Do u want a snippet to kick the players that connect?

pawn Код:
new Locked;
stock LockServer()
{
  Locked = true;
  return 1;
}
stock UnlockServer()
{
  Locked = false;
  return 1;
}

public OnPlayerConnect(playerid)
{
  if(Locked) Kick(playerid);
  return 1;
}



Re: Help[Include]GameModeLocked - catamarg1 - 15.03.2011

Quote:
Originally Posted by [GF]Sasino97
Посмотреть сообщение
Do u want a snippet to kick the players that connect?

pawn Код:
new Locked;
stock LockServer()
{
  Locked = true;
  return 1;
}
stock UnlockServer()
{
  Locked = false;
  return 1;
}

public OnPlayerConnect(playerid)
{
  if(Locked) Kick(playerid);
  return 1;
}
NOOOOO. Geve me pawno include GameModeLocked