Increasing Health
#1

Hello! I'm currently working on my gamemode and I've run into a small problem.

I'm trying to script this:
If the player is within a certain distance of a point and presses the [whatever key it may be] key and if they're health is 95% or lower, $2 is taken from them and their health is increased by 5 %.

I have done most of it, but I get 2 errors which are:

C:\Users\Noorie\Desktop\Transporter.pwn(138 : error 017: undefined symbol "IsPlayerInRange"
C:\Users\Noorie\Desktop\Transporter.pwn(1406) : error 030: compound statement not closed at the end of file (started at line 1376)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Errors.

Can someone please help me fix this?

Thanks!.

http://pastebin.com/m331c79c9
Reply


Messages In This Thread
Increasing Health - by sidhu123 - 27.01.2010, 01:49
Re: Increasing Health - by sidhu123 - 27.01.2010, 01:58
Re: Increasing Health - by lolumadd - 27.01.2010, 02:20
Re: Increasing Health - by sidhu123 - 27.01.2010, 02:28
Re: Increasing Health - by mansonh - 27.01.2010, 08:09
Re: Increasing Health - by sidhu123 - 27.01.2010, 16:52
Re: Increasing Health - by Joe Staff - 27.01.2010, 17:00
Re: Increasing Health - by sidhu123 - 27.01.2010, 17:10
Re: Increasing Health - by sidhu123 - 27.01.2010, 21:33
Re: Increasing Health - by actiwe - 27.01.2010, 21:39

Forum Jump:


Users browsing this thread: 1 Guest(s)