Jump to content

ConfidencE

Members
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    México

Recent Profile Visitors

1140 profile views

ConfidencE's Achievements

Poring

Poring (1/15)

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Puedes usar un script como éste: - script dl_map -1,{ OnPCLoadMapEvent: getmapxy(.@amap$,.@mapx,.@mapy,0); query_sql("SELECT last_ip FROM `login` WHERE account_id = "+getcharid(3)+"", .@LastIP$); query_sql("SELECT account_id FROM `login` WHERE last_ip = '"+.@LastIP$+"'", .@AccountId); set .@aidtemp,getcharid(3,strcharinfo(0)); for(set .@i ,0;.@i<getarraysize(.@AccountId);set .@i,.@i+1){ if(attachrid(.@AccountId[.@i])){ getmapxy(.@qmap$,.@qmapx,.@qmapy,0); if (.@qmap$== .@amap$){ set .@j,.@j+1; } } } detachrid; attachrid .@aidtemp; if(.@j > 1) { dispbottom "Lo siento, no está permitido el Double Login en éste mapa."; warp "prontera",156,183; } end; } //------Enable map OnPCLoadMapEvent------------------- izlude mapflag loadevent alberta mapflag loadevent Sólo deberás añadir el mapflag del mapa que deseas restringir. (aquí coloqué izlude y alberta)
×
×
  • Create New...