Chasewalk Posted November 28, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.02 Content Count: 94 Reputation: 0 Joined: 10/17/20 Last Seen: March 8, 2021 Share Posted November 28, 2020 Hi can i request source of @request commands with delay and @pk on/off thank you guys! Quote Link to comment Share on other sites More sharing options...
0 Scylla Posted November 28, 2020 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 374 Reputation: 47 Joined: 03/27/13 Last Seen: Tuesday at 12:03 AM Share Posted November 28, 2020 1 hour ago, Chasewalk said: Hi can i request source of @request commands with delay and @pk on/off thank you guys! Google is your friend and: 1 Quote Link to comment Share on other sites More sharing options...
0 Chasewalk Posted November 28, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.02 Content Count: 94 Reputation: 0 Joined: 10/17/20 Last Seen: March 8, 2021 Author Share Posted November 28, 2020 (edited) all this @pk and @request its not working Edited November 28, 2020 by Chasewalk Quote Link to comment Share on other sites More sharing options...
0 Chasewalk Posted November 28, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.02 Content Count: 94 Reputation: 0 Joined: 10/17/20 Last Seen: March 8, 2021 Author Share Posted November 28, 2020 just like that @request but error on map-server ACMD_FUNC(request) { if (!message || !*message) { clif_displaymessage(sd->fd,msg_txt(sd,277)); // Usage: @request <petition/message to online GMs>. return -1; } sprintf(atcmd_output, msg_txt(sd,278), message); // (@request): %s intif_wis_message_to_gm(sd->status.name, PC_PERM_RECEIVE_REQUESTS, atcmd_output); if( DIFF_TICK( sd->request_delay_tick,gettick() ) > 0 ){ clif_displaymessage(fd,"There is a 3 minutes delay in using @go command"); return 0; }else{ sd->request_delay_tick = gettick() + 180000; } clif_disp_onlyself(sd, atcmd_output, strlen(atcmd_output)); clif_displaymessage(sd->fd,msg_txt(sd,279)); // @request sent. return 0; } atcommand.cpp(8848,9): error C3861: 'clif_disp_onlyself': identifier not found Quote Link to comment Share on other sites More sharing options...
0 Scylla Posted November 30, 2020 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 374 Reputation: 47 Joined: 03/27/13 Last Seen: Tuesday at 12:03 AM Share Posted November 30, 2020 On 11/28/2020 at 7:29 PM, Chasewalk said: just like that @request but error on map-server ACMD_FUNC(request) { if (!message || !*message) { clif_displaymessage(sd->fd,msg_txt(sd,277)); // Usage: @request <petition/message to online GMs>. return -1; } sprintf(atcmd_output, msg_txt(sd,278), message); // (@request): %s intif_wis_message_to_gm(sd->status.name, PC_PERM_RECEIVE_REQUESTS, atcmd_output); if( DIFF_TICK( sd->request_delay_tick,gettick() ) > 0 ){ clif_displaymessage(fd,"There is a 3 minutes delay in using @go command"); return 0; }else{ sd->request_delay_tick = gettick() + 180000; } clif_disp_onlyself(sd, atcmd_output, strlen(atcmd_output)); clif_displaymessage(sd->fd,msg_txt(sd,279)); // @request sent. return 0; } atcommand.cpp(8848,9): error C3861: 'clif_disp_onlyself': identifier not found Then try removing: clif_disp_onlyself(sd, atcmd_output, strlen(atcmd_output)); Quote Link to comment Share on other sites More sharing options...
0 Chasewalk Posted November 30, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.02 Content Count: 94 Reputation: 0 Joined: 10/17/20 Last Seen: March 8, 2021 Author Share Posted November 30, 2020 Hi its working but when I use @request there is no delay Quote Link to comment Share on other sites More sharing options...
Question
Chasewalk
Hi can i request source of @request commands with delay and @pk on/off thank you guys!
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.