Pneuma Posted December 27, 2011 Group: Members Topic Count: 82 Topics Per Day: 0.02 Content Count: 846 Reputation: 138 Joined: 02/26/14 Last Seen: March 7, 2018 Share Posted December 27, 2011 Simple @command request; When a player types @fish; it warps them to the fishing area brasilis 239 78 Quote Link to comment Share on other sites More sharing options...
Sneaky Posted December 27, 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 27, 2011 eA/rA revision > src > map > atcommand.c Find: /*========================================== * atcommand_info[] structure definition *------------------------------------------*/ AtCommandInfo atcommand_info[] = { Add BEFORE: ACMD_FUNC(fish) { npc_event(sd,"fishwarp::OnFishMap",0); return 0; } add after this: /*========================================== * atcommand_info[] structure definition *------------------------------------------*/ AtCommandInfo atcommand_info[] = { this: { "fish", 0,0, atcommand_fish }, ------------------------------------------------------------- Add an NPC with this inside: - script fishwarp -1,{ end; OnFishMap: warp "brasilis",239,78; end; } Quote Link to comment Share on other sites More sharing options...
Question
Pneuma
Simple @command request; When a player types @fish; it warps them to the fishing area
brasilis 239 78
Link to comment
Share on other sites
1 answer 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.