Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/17/19 in Posts

  1. for(.@i = EQI_ACC_L; .@i <= EQI_HAND_R; .@i++) { if(getequipisequiped(.@i)) { .@menu$ += F_getpositionname(.@i) + " - " + "[" + getequipname(.@i) + "]"; .@equipped = 1; } .@menu$ += ":"; } you dont really need the array for equipment position, you could use the F_getpositionname(...)
    2 points
  2. Just add an account variable tick to it if you want it to have an account cd, just match the cd to your quest_db cd. //= Instance Creation Check if (is_party_leader() == false) { mes "[Civilization Explorer]"; mes "Ah. You aren't the party leader. Take me to your leader! Or perhaps take your leader to me."; close; } if(#CentralLabCD > gettimetick(2)){ mes "[Civilization Explorer]"; mes "Account CD Mes"; close; } //= Instance Enter case IE_OK: mapannounce "verus01", "" + strcharinfo(0) + " of the party, " + getpartyname(.@party_id) + ", is entering Central Laboratory.",bc_map,"0x00FF99"; #CentralLabCD = gettimetick(2) + 9999999; //= Account CD setquest 12347;// Trace of Laboratory Access end;
    1 point
  3. my bad sorry , i misread getequipname to getitemname Dx
    1 point
  4. try setarray .@position$,"Accessory Left","Accessory Right","shoes","Garment","Lower","Middle","Upper","Armor","Left hand","Right hand"; set .@menu$, ""; for(.@i = 0; .@i <getarraysize(.@position$); .@i++) { if(getequipisequiped(.@i)) { set .@menu$, .@menu$ + .@position$[.@i] + " - " + "[" + getequipname(.@i) + "]"; .@equipped = 1; } set .@menu$, .@menu$ + ":"; }
    1 point
×
×
  • Create New...