how can add the name of player ingame i dont want to use @reloadscript to change the name of skull for hunt
prontera,146,150,5 script Skull Hunting 501,{
mes "I give you an apple if you give me " + .char_name$ +"'s skull !";
next;
if ( countitem2( 7420, 1, 0, 0, 254, 0, .cible_cid & 65535, .cible_cid >> 16 ) ) {
mes "Yeah you have the skull ! I give you an apple";
delitem2( 7420, 1, 1, 0, 0, 254, 0, .cible_cid & 65535, .cible_cid >> 16 );
getitem 7227, 1;
}else{
mes "But you didnt have it.";
}
close;
OnInit:
set .char_name$,"Jemzs";
query_sql("SELECT `char_id` FROM `char` WHERE `name`='"+escape_sql(.char_name$)+"' LIMIT 1", .cible_cid );
end;
}
Question
Blue Jem
how can add the name of player ingame i dont want to use @reloadscript to change the name of skull for hunt
Link to comment
Share on other sites
5 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.