Rune Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Donate
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Guys Its Me PrettyBirds I'm Back !
Simple Attack requirement messup. EmptyTue Aug 23, 2011 3:25 pm by Demonkill101

» wow gold wow
Simple Attack requirement messup. EmptyWed Jun 08, 2011 11:47 pm by yangxue

» DragonScape 508 Server
Simple Attack requirement messup. EmptyMon Mar 29, 2010 7:33 pm by AERA808

» Linksys, have you seen\do you know about this?
Simple Attack requirement messup. EmptyTue Jan 20, 2009 1:18 pm by Demonkill101

» Rune-Server Domain Name Expired
Simple Attack requirement messup. EmptyTue Jan 20, 2009 1:17 pm by Demonkill101

» Simple Attack requirement messup.
Simple Attack requirement messup. EmptySun Dec 28, 2008 11:43 am by thedisciple

» Dragonscape 508 Ip switcher v2
Simple Attack requirement messup. EmptyFri Dec 26, 2008 8:54 pm by Ripvayne

» Rules Of This Forum
Simple Attack requirement messup. EmptyFri Dec 26, 2008 8:53 pm by Ripvayne

» Dragonking/Patragon
Simple Attack requirement messup. EmptyMon Dec 22, 2008 3:48 pm by Mr. Linksys

Top posters
Mr. Linksys (18)
Simple Attack requirement messup. Votingbar2Simple Attack requirement messup. VotingbarSimple Attack requirement messup. Votingbar3 
Demonkill101 (13)
Simple Attack requirement messup. Votingbar2Simple Attack requirement messup. VotingbarSimple Attack requirement messup. Votingbar3 
Dragonking (12)
Simple Attack requirement messup. Votingbar2Simple Attack requirement messup. VotingbarSimple Attack requirement messup. Votingbar3 
Ripvayne (10)
Simple Attack requirement messup. Votingbar2Simple Attack requirement messup. VotingbarSimple Attack requirement messup. Votingbar3 
King Redrum (10)
Simple Attack requirement messup. Votingbar2Simple Attack requirement messup. VotingbarSimple Attack requirement messup. Votingbar3 
daniel89 (6)
Simple Attack requirement messup. Votingbar2Simple Attack requirement messup. VotingbarSimple Attack requirement messup. Votingbar3 
Lighting bolt (5)
Simple Attack requirement messup. Votingbar2Simple Attack requirement messup. VotingbarSimple Attack requirement messup. Votingbar3 
someguy (3)
Simple Attack requirement messup. Votingbar2Simple Attack requirement messup. VotingbarSimple Attack requirement messup. Votingbar3 
thedisciple (3)
Simple Attack requirement messup. Votingbar2Simple Attack requirement messup. VotingbarSimple Attack requirement messup. Votingbar3 
yangxue (2)
Simple Attack requirement messup. Votingbar2Simple Attack requirement messup. VotingbarSimple Attack requirement messup. Votingbar3 


Simple Attack requirement messup.

Go down

Simple Attack requirement messup. Empty Simple Attack requirement messup.

Post  thedisciple Sun Dec 28, 2008 11:43 am

Well, I am stuck. Lol. I am making hunter in my server(100% coded by myself) and i need attack requirements so you cannot attack "Kebbits" unless you have a falcon and the hunter level required. Here is my script:

Code:

            if (server.npcHandler.npcs[attacknpc].npcType == 1255) {
            if (playerWeapon == 9975) {
               if (playerLevel[19] <= 42) {
                  ResetAttackNPC();
                     sendMessage("You need a hunter level of 43 to hunt Spotted Kebbits.");
                        }
                              } else if (playerWeapon < 9975) {
                           ResetAttackNPC();
                        sendMessage("You need a falcon to hunt this kebbit");   
                     } else {
                  }
               }
What this does: No matter what, it resets the npc attack and says you need a falcon. (Even if you're weilding one.) Also the ID for my falcon is 9975. Anyway, can any1 help fix this error?

thedisciple
V.I.P.
V.I.P.

Posts : 3
Join date : 2008-12-02

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum