Posts: 303
Threads: 43
Joined: May 2010
Reputation:
0
Hi
im searching for a, when u join in the server, u must login, if u dont /login password u can't spawn
anyone know?
Posts: 206
Threads: 31
Joined: Feb 2008
Reputation:
0
Add in
OnPlayerRequestSpawn:
if ( !aLogged [ playerid ] )
{
SendClientMessage ( playerid, COLOR_GREY, "** You must login before spawning." );
return false;
}
just replace the aLogged with your login check.
Posts: 303
Threads: 43
Joined: May 2010
Reputation:
0
in my GM or my FS Admin system?
Posts: 3,304
Threads: 58
Joined: Sep 2008
Reputation:
0
I guess in your admin FS.
Posts: 303
Threads: 43
Joined: May 2010
Reputation:
0
I putted it in mi FS
it give me the next errors:
C:\Documents and Settings\Propietario\Escritorio\sa-mp server\filterscripts\LuxAdmin.pwn(772) : error 010: invalid function or declaration
C:\Documents and Settings\Propietario\Escritorio\sa-mp server\filterscripts\LuxAdmin.pwn(775) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Posts: 303
Threads: 43
Joined: May 2010
Reputation:
0
Yes, it work. Ths so much man
Clan close topic