Change The Login in Ladmin
#1

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?
Reply
#2

i didn't get answer
From allot of days
Reply
#3

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.
Reply
#4

i got 4 errors
http://pastebin.com/YBVjXGSK
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)