Change The Login in Ladmin - 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: Change The Login in Ladmin (
/showthread.php?tid=254034)
Change The Login in Ladmin -
misho1 - 08.05.2011
I wanna Change The Login system in ladmin when i login it say Please Enter Your password and when i try to spawn any skin it don't accept me spawn only after type login i can spawn in the login only not in the register
i saw that in:
Код:
HostName: S.W.A.T
Address: 217.18.70.152:7777
Players: 20 / 35
Ping: 138
Mode: SWAT
Map: Destruct
and how to make money bag?
Re: Change The Login in Ladmin -
misho1 - 15.05.2011
i didn't get answer
From allot of days
Re: Change The Login in Ladmin -
Biesmen - 15.05.2011
That server doesn't use LAdmin.
MadeMan created the admin system on his own.
Anyway, for so far I can understand your English, you'll have to return at the OnPlayerRequestSpawn.
E.g:
pawn Код:
//At OnPlayerConnect
LoggedIn[playerid] = 0;
//At the /login command:
LoggedIn[playerid] = 1;
// At the OnPlayerRequest spawn callback:
if(LoggedIn[playerid] == 0)
{
SendClientMessage(playerid, -1, "You have to login first!");
return 0;
}
Replace LoggedIn with the original variable of LAdmin.
Re: Change The Login in Ladmin -
misho1 - 15.05.2011
i got 4 errors
http://pastebin.com/YBVjXGSK