viewing paste Unknown #422 | C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
[CODE]
morocc,174,93,3 script porwarp 723,{
query_sql("SELECT last_ip FROM `login` WHERE account_id = "+getcharid(3)+"", .@LastIp$);
query_sql("SELECT account_id FROM `login` WHERE last_ip = '"+.@LastIp$+"'", .@AccountId);
set .@aidtemp,getcharid(3);
set .@size,getarraysize(.@AccountId);
for(set .@i ,0;.@i<.@size;set .@i,.@i+1)
        {
                if(attachrid(.@AccountId[.@i]))
                        if (strcharinfo(3)== "poring_w02") set .@j,.@j+1;
                detachrid;
         }
attachrid .@aidtemp;
if(.@j >= 1){
        mes "^FF0000Sorry Can't Warp You!^000000";
        close;
}
warp "poring_w02",100,201;
close;
}
[/CODE]
 
i want 1 ip to this map region_4
 
49 51
 
if same ip will be auto kick ok
Viewed 807 times, submitted by Guest.