Dissidia Posted September 12, 2012 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Share Posted September 12, 2012 do we have a script for this..? if(sitstand == sit) ??? Quote Link to comment Share on other sites More sharing options...
malufett Posted September 12, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 554 Reputation: 70 Joined: 04/04/12 Last Seen: November 8, 2013 Share Posted September 12, 2012 nope we don't have..but you can add it by your own.. @script.c BUILDIN_FUNC(issitting) { TBL_PC* sd; sd = script_rid2sd(st); if( sd == NULL ) return 0;// no player attached, report source if( pc_issit(sd) ) script_pushint(st, 1); else script_pushint(st, 0); return 0; } BUILDIN_DEF(issitting,""), 1 Quote Link to comment Share on other sites More sharing options...
Dissidia Posted September 13, 2012 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Author Share Posted September 13, 2012 thanks malufett.. Quote Link to comment Share on other sites More sharing options...
Dissidia Posted September 17, 2012 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Author Share Posted September 17, 2012 btw malufett how to use the code? like this ? if(issitting == 1) Quote Link to comment Share on other sites More sharing options...
malufett Posted September 17, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 554 Reputation: 70 Joined: 04/04/12 Last Seen: November 8, 2013 Share Posted September 17, 2012 just like other regular script commands.. if( issitting() ){ // the char is currently sitting }else{ // the char is not sitting } 2 Quote Link to comment Share on other sites More sharing options...
Dissidia Posted September 17, 2012 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 535 Reputation: 23 Joined: 11/19/11 Last Seen: June 8, 2023 Author Share Posted September 17, 2012 thanks again.. its working. Quote Link to comment Share on other sites More sharing options...
Question
Dissidia
do we have a script for this..?
if(sitstand == sit) ???
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.