shadow.sk Posted November 28, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 11/28/11 Last Seen: March 8, 2012 Share Posted November 28, 2011 Heya! I want to request a new command like @cash. I am using @cash for donors. is someone can help me? The new command will work exactly like cash does... At command: #v4point shadow.sk 10 In npc: prontera,69,69,4 v4point Kafra Hat 4 Points 123,{ Thank you in advance and any help will be appreciated Quote Link to comment Share on other sites More sharing options...
shadow.sk Posted November 30, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 11/28/11 Last Seen: March 8, 2012 Author Share Posted November 30, 2011 bump for help Quote Link to comment Share on other sites More sharing options...
shadow.sk Posted December 7, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 11/28/11 Last Seen: March 8, 2012 Author Share Posted December 7, 2011 Quote Link to comment Share on other sites More sharing options...
Sneaky Posted December 7, 2011 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 392 Reputation: 47 Joined: 11/18/11 Last Seen: July 8, 2024 Share Posted December 7, 2011 Well I don't exactly know how to add an exact system but...I could provide some info that may help you if you know how to put it together, I could but honestly I'm don't have RO to test in this computer, but here it is: you could simply add a command that triggers a script label, so it would be something like this: in atcommand.c find: AtCommandInfo atcommand_info[] = { Add BEFORE / Above: /*========================================== * v4points (Trigger a script) *------------------------------------------*/ int atcommand_vpoint(const int fd, struct map_session_data* sd, const char* command, const char* message) { npc_event(sd,"v4points_npc::OnGivePoints",0); return 0; } npc_event(sd,"NPC_NAME::NPC_LABEL",0); find this again: AtCommandInfo atcommand_info[] = { add below: { "v4point", 99,99, atcommand_vpoint }, ---------------------------------------------------------------------------------------------- then you'd just have to add a script / NPC. - script v4points_npc -1,{ end; OnGivePoints: /* <-- SCRIPT GOES HERE --> */ } And to make up the script you could just base up of THIS... I think that's pretty much all you need ^^; Quote Link to comment Share on other sites More sharing options...
shadow.sk Posted December 8, 2011 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 24 Reputation: 0 Joined: 11/28/11 Last Seen: March 8, 2012 Author Share Posted December 8, 2011 Thanks let me give a try Quote Link to comment Share on other sites More sharing options...
Question
shadow.sk
Heya!
I want to request a new command like @cash.
I am using @cash for donors.
is someone can help me?
The new command will work exactly like cash does...
At command:
#v4point shadow.sk 10
In npc:
Thank you in advance and any help will be appreciated
Link to comment
Share on other sites
4 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.