Jump to content

Draculle

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Draculle's Achievements

Poring

Poring (1/15)

0

Reputation

  1. In the end it proved to be a great hard head that did the same as many, he started something incredible, lost interest and put an end to all... If at least he had shared the code he would have been remembered as a better guy :/
  2. Very cool !!! *-* the function would be used in all NPCs that will remove the player of the map but you idea it's a logical solution that i couldn't think! Thanks!
  3. Hello guys! I would like to know how to create a PvP map where all players were lvl 99 it. For example, a player low lvl when entering the map, him lvl would be set to 99, but when he leave it, he back to the original character level. The player's status points can be reset if is necessary... Sorry for my english and thanks in advance Solved: - script PVP_LEVEL_UP -1,{ OnInit: setarray .maps$, "izlude", "pvp2", "pvp3"; setarray .minLevel, 99; for( .@i = 0; .@i < getarraysize( .maps$ ); .@i++ ) setmapflag .maps$[ .@i ], mf_loadevent; end; OnPCLoadMapEvent: getmapxy( .@map$, .@x, .@y, 0 ); if( !compare( implode( .maps$, ":" ), .@map$ ) ) end; if( BaseLevel < .minLevel ) { PVPLP_TRUE_LEVEL = BaseLevel; atcommand "@blvl " + (.minLevel - BaseLevel); } end; OnPCLogoutEvent: callfunc( "PVPLP_revertLevel" ); end; } function script PVPLP_revertLevel { setarray .@maps$, "izlude", "pvp2", "pvp3"; getmapxy( .@map$, .@x, .@y, 0 ); if( !compare( implode( .@maps$, ":" ), .@map$ ) ) end; atcommand "@blvl " + (PVPLP_TRUE_LEVEL - BaseLevel); } Thank you
×
×
  • Create New...