strock GetIP(playerid)
#4

pawn Код:
if(!strcmp(IP[playerid],GetIp(playerid))){
    printf("CurrentIP:%s", GetIp(playerid));
    printf("LastSavedIP:%s", IP[playerid]);
    if(Logged[playerid] == 0){
    SendMessage(playerid,green,"The server remembered your information, so you don't need to login!" , "Сървъра запази вашата информация, затова няма нужда да се логвате.");
    Logged[playerid] = 1;
}
Strcmp returns 0 if the strings are the same.
Reply


Messages In This Thread
strock GetIP(playerid) - by TheDeath - 28.07.2012, 22:56
Re: strock GetIP(playerid) - by Vince - 28.07.2012, 23:14
Re: strock GetIP(playerid) - by TheDeath - 28.07.2012, 23:31
Re: strock GetIP(playerid) - by bigcomfycouch - 29.07.2012, 01:13
Re: strock GetIP(playerid) - by Ranama - 29.07.2012, 02:34

Forum Jump:


Users browsing this thread: 1 Guest(s)