28.01.2010, 17:16
i am connecting to my server and it isn't logging me automaticly in. I hope anybody can help me with this.
pawn Код:
new tmp[50],tmp2[256]; GetPlayerIp(playerid,tmp,50); tmp2 = dini_Get(udb_encode(pInfo[playerid][name]),"IP");
if(!strcmp(tmp,tmp2,false)) {
SendClientMessage(playerid, ADMIN,"Welcome to Rofl The Poffle Server!");
SendClientMessage(playerid, ADMIN,"To save your stats + progress use: /register password!");
SendClientMessage(playerid, ADMIN,"Have fun playing!"); }
else if(!strcmp(tmp,tmp2,true)) {
SendClientMessage(playerid,oranje,"You have been automaticly logged in!");
OnPlayerLogin(playerid); }
return 1;