mellina,33,78,4 script Kinh Doanh Nhà Đất::guildreward 899,{
mes "[^0000FFKinh Doanh Nhà Đất^000000]";
mes "Ta đang có miếng đất trống đây ngươi có muốn mua không?";
next;
switch(select("Guild Home" ,
( getgroupid() < 99) ?"":"^FF0000[GM]^000000 Set Winner Guild" )
){
case 1:
if (getcharid(2) != .GuildID)
{
mes "[^0000FFKinh Doanh Nhà Đất^000000]";
mes "Dường như ngươi đến trể mất rồi tên GM Server mRO hắn mua đứt miếng đất này rồi";
mes "Hình như hắn mua cho Guild nào thắng WoE đó. Hmm. Mà hình như ngươi không nằm trong guild chiến thành WoE";
mes "Thôi by gặp lại sau nhé ";
break;
}
else
{
warp "home_r01",0,0;
break;
}
case 2:
goto GMCustom;
}
close;
GMCustom:
mes "Vui lòng nhập ID của guild đc phép vào GUILD HOUSE";
mes "Guild hiện đang được vào GUILD HOUSE là guld ^FF0000" + getguildname(.GuildID) + "^000000 có ID ^FF0000" + .GuildID + "^000000";
next;
input .@guild_id;
set .GuildID,.@guild_id;
mes "Done !";
close;
/* Set guild id */
OnInit:
set .GuildID,1;
/* check when pc warp to map */
OnPCLoadMapEvent:
//if (getgroupid() > 0) end;
if (strcharinfo(3) == "home_r01")
{
if (getcharid(2) != .GuildID)
{
mes "[^0000FFKinh Doanh Nhà Đất^000000]";
mes "Quá hạn thanh toán ....";
close2;
savepoint "mellina",85,55;
atcommand "@load";
}
}
}
home_r01 mapflag loadevent
home_r01 mapflag nomemo
Why if have 2 line below script will return error?
mes "[^0000FFKinh Doanh Nhà Đất^000000]";
mes "Quá hạn thanh toán ....";
close2;
error
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: strcharinfo (1 parameter):
[Debug]: Data: number value=3
[Debug]: Source (NPC): Kinh Doanh Nhà Đất at mellina (33,78)
Question
hthuong
my script
Why if have 2 line below script will return error?
error
Edited by hthuongLink to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.