Jump to content
  • 0

VIP system


Dev Blaze

Question


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  212
  • Reputation:   5
  • Joined:  01/24/12
  • Last Seen:  

anyone have a Script VIP account system? how to add this script?

85% HP and SP restoration when respawn 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   3
  • Joined:  06/03/12
  • Last Seen:  

what kind of vip system ? rathena vip system or vip in eamod or ramod?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   3
  • Joined:  06/03/12
  • Last Seen:  

need level 1 account
//eathena

-    script    test    -1,{
OnPCLoadMapEvent:
if ( getgmlevel() == 1 )
    getmapxy .@map$,.@x,.@y,0;
    query_sql "SELECT `save_map`, `save_x`, `save_y` FROM `char` WHERE `name` = '"+strcharinfo(0)+"' and `char_id` = "+ getcharid(0)+"", .@mapz$, .@xx, .@yy;
        if (.@map$ == .@mapz$ && .@x == .@xx && .@y == .@yy) {
        percentheal 85,85;
        end;
}
}


need group_id 1 account

//rathena

-    script    test    -1,{
OnPCLoadMapEvent:
if ( getgroupid() == 1 )
    getmapxy .@map$,.@x,.@y,0;
    query_sql "SELECT `save_map`, `save_x`, `save_y` FROM `char` WHERE `name` = '"+strcharinfo(0)+"' and `char_id` = "+ getcharid(0)+"", .@mapz$, .@xx, .@yy;
        if (.@map$ == .@mapz$ && .@x == .@xx && .@y == .@yy) {
        percentheal 85,85;
        end;
}
}


//eamod
-    script    test    -1,{
OnPCLoadMapEvent:
if ( isPremium() == 1 )
    getmapxy .@map$,.@x,.@y,0;
    query_sql "SELECT `save_map`, `save_x`, `save_y` FROM `char` WHERE `name` = '"+strcharinfo(0)+"' and `char_id` = "+ getcharid(0)+"", .@mapz$, .@xx, .@yy;
        if (.@map$ == .@mapz$ && .@x == .@xx && .@y == .@yy) {
        percentheal 85,85;
        end;
}
}
 

if you save in prontera then die at the prontera the script will not working but if you die in other map then respawn to save points the script 100% working 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...