Funkybeatz15 Posted September 21, 2017 Share Posted September 21, 2017 Hello, how do i use "checkquest" with a certain char id? Doc: "checkquest(<ID>{,PLAYTIME|HUNTING{,<char_id>}})" Script: "checkquest(1300, PLAYTIME, 150067);" ^- Script is not working (no errors in console) Quote Link to comment Share on other sites More sharing options...
0 Funkybeatz15 Posted September 23, 2017 Author Share Posted September 23, 2017 "checkquest(1300, PLAYTIME, 150067);" works well too now the problem was a other function #can be closed Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted September 22, 2017 Share Posted September 22, 2017 (edited) checkquest(1300, PLAYTIME); //Example [email protected] = checkquest(1300, PLAYTIME); if ([email protected] == 2) { mes "[NPC]"; mes "You are still on cooldown please wait for 24 hours"; close; } The Char ID will be the PC who talked to the NPC :)) Edited September 22, 2017 by crazyarashi Quote Link to comment Share on other sites More sharing options...
0 Funkybeatz15 Posted September 22, 2017 Author Share Posted September 22, 2017 Yes, so it's impossible to use checkquest to get the questtatus of a different player? Quote Link to comment Share on other sites More sharing options...
0 llchrisll Posted September 22, 2017 Share Posted September 22, 2017 (edited) I think it is, since you can use the char id. But did you try to save the value in an variable or try use mes checkquest since it returns an value, see the example of crazyarashi. Regards, Chris Edited September 22, 2017 by llchrisll Typos... Quote Link to comment Share on other sites More sharing options...
0 Funkybeatz15 Posted September 22, 2017 Author Share Posted September 22, 2017 Yes, this example is okay and works but this is not my aim. I want to get the "questcheck return" for a certain charid, and like crazyarashi said: everytime it use the char id of the player who clicked the npc. Quote Link to comment Share on other sites More sharing options...
Hello,
how do i use "checkquest" with a certain char id?
Doc:
"checkquest(<ID>{,PLAYTIME|HUNTING{,<char_id>}})"
Script:
"checkquest(1300, PLAYTIME, 150067);"
^- Script is not working (no errors in console)
Link to comment
Share on other sites