.@acc_id = charid2rid(.@char_id);if (!.@acc_id){ debugmes "Char not online"; end;}//DO anything with .@char_id and .@acc_id here.(Character is Online)
Look this other two:why use query_sql
you can use this method
.@acc_id = charid2rid(.@char_id);if (!.@acc_id){ debugmes "Char not online"; end;}//DO anything with .@char_id and .@acc_id here.(Character is Online)
No.This method is new for me...
Look this other two:why use query_sql
you can use this method
.@acc_id = charid2rid(.@char_id);if (!.@acc_id){ debugmes "Char not online"; end;}//DO anything with .@char_id and .@acc_id here.(Character is Online)
query_sql("SELECT login.account_id FROM login LEFT JOIN `char` ON login.account_id=`char`.account_id WHERE `char`.online=1")
and:
if(isloggedin(getcharid(3)))
They do the samething?
We use essential cookies to make this site work, and optional cookies to enhance your experience.