View Single Post
  #16  
Old 08-09-2004, 03:00 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally Posted by falco10291029
*script*

AM I right? Well I will try it.
You miss a ')' in the condition there.

Also:
NPC Code:
for (i=o;i<weaponscount;i++)



You have 'o' there not '0' (zero). This works, because the variable 'o' has not been set to anything, so it is zero. But if you need to use the var 'o' once, you shouldn't have it in the for loop... This will not be a problem if you don't set 'o' or you can just use zero there.
__________________
-Kjetil Valen
Reply With Quote