include...
#1

hey guys,
i've made a simple include but i need help... i'm a begneer scripter...

Код:
/*
Include Made by A.Z.A.R
*/

#if defined azar_include
#endif

//my cmds

native GetMeAmmo(weapon, weapon_ammo);
ok this error appears... when i use it in pawno. (as a command)
Код:
E:\SWSetup\SP32105\tgGames\pawno\fras.pwn(94) : error 017: undefined symbol "GetMeAmmo"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
ok, so where did i made a mistake?
(this is my first include)
Reply
#2

GetMeAmmo should be a stock or define of a function.
Reply
#3

i made get me ammo my self... so i have to define it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)