Good evening, I waslooking at thisscriptand I wonderif someonecould put amap ofcheckingit, sothe playerswould only bekickedif they wereon the same map,andif you aretoopen shophe did notkickthe player.
But I thinkhe'schecksistoopen shop, giveI wonder ifsomeonecould putthe maptocheckme ...I thank youvery much!
- script Only1perMAC -1,{OnPCLoginEvent: if (getgmlevel() >= 99) end; if (query_sql("SELECT `char`.`name` FROM `char` LEFT JOIN login ON `char`.account_id=login.account_id WHERE login.last_mac=(SELECT last_mac FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1 AND `char`.char_id!="+getcharid(0), .@name$) >= 1) { for (set .@i,0; .@i<getarraysize(.@name$); set .@i,.@i+1) { if (!checkvending(.@name$[.@i])) set .@samemac, .@samemac +1; } if (.@samemac >= 1) { announce "Sorry, only 1 account per computer can be logged in at a time.", bc_self; sleep2 1000; atcommand "@kick "+strcharinfo(0); } } end;}
Good evening, I was looking at this script and I wonder if someone could put a map of checking it, so the players would only be kicked if they were on the same map, and if you are to open shop he did not kick the player.
But I think he's checks is to open shop, give I wonder if someone could put the map to check me ... I thank you very much!
Share this post
Link to post
Share on other sites