Need help with Error 10.
#1

Hello again . I want to create Injured System, so here is my code
Код:
//
// SIMPLE INJURED SYSTEM
// BY: EDWARD VELKOV
// FOR SAMP 0.3X
// SERVER: ENERGY ROLEPLAY
// CREATED ON: 20.7.2013
//
//---------------------------------------------------------------//
#include <a_samp>
#include <core>
#include <float>
//--------------------------------------------------------------//
#define TogglePlayerControllable
#define GetPlayerHealth
#define phealth
//-------------------------------------------------------------//
public OnPlayerUpdate(playerid);


GetPlayerHealth(playerid,phealth);
if(phealth < 35)

	//fall animation
	TogglePlayerControllable(playerid,0);
	ApplyAnimation(playerid,"CRACK","crckidle2",1,0,0, 0,0,0);

	return 1;
}
..But when I try to compile it, it finds 4 errors -
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\GTA San Andreas\filterscripts\Anim.pwn(21) : error 010: invalid function or declaration
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\GTA San Andreas\filterscripts\Anim.pwn(22) : error 010: invalid function or declaration
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\GTA San Andreas\filterscripts\Anim.pwn(25) : error 010: invalid function or declaration
D:\Games\Grand Theft Auto (GTA) San Andreas-HOODLUM\GTA San Andreas\filterscripts\Anim.pwn(2 : error 010: invalid function or declaration.

Any idea how to fix it?
Reply


Messages In This Thread
Need help with Error 10. - by Edward2013 - 20.07.2013, 17:03
Re: Need help with Error 10. - by Lordzy - 20.07.2013, 18:01
Re: Need help with Error 10. - by Edward2013 - 20.07.2013, 18:07

Forum Jump:


Users browsing this thread: 3 Guest(s)