Quote:
Originally Posted by Niixie
Get the players registered ip
pawn Код:
new tmp2[56], tmp3[56];
GetPlayerIp(blabla, tmp3); dini_Int(blabla, tmp2);
If(tmp2, tmp3 = true) { IsPlayerLogged[playerid] = 1; SendClientMessage(playerid, blue, "You've been automaticly logged in"); }
Something like that, thats what i would do
Dont copy it, its not written as it should be. because you dont learn of copying
|
Quote:
Originally Posted by ~Dangun!
pawn Код:
public OnPlayerConnect(playerid) { new IP[56]; GetPlayerIp(playerid, IP, 56); if(strcmp(dini_Get(pInfo[playerid][name], "IP"), IP)) OnPlayerLogin(playerid); }
I hope somebody will be able to help me out.
|
He does yet... doesnt he?