01.02.2014, 10:29
Yesterday my server was working fine then it restarted and the gamemode is now unkown when I restarted it,it was showing an error when loading the streamer so I updated it to the latest version with 0.3z updates and I added the include to my pwno and now when I try to compile the script it shows this error
I already have these in my code
Код:
C:\Users\Halloul\Desktop\SAMP scripts\FuseGaming\pawno\include\streamer.inc(487) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot") C:\Users\Halloul\Desktop\SAMP scripts\FuseGaming\pawno\include\streamer.inc(489) : error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER_OBJECT" C:\Users\Halloul\Desktop\SAMP scripts\FuseGaming\pawno\include\streamer.inc(501) : error 025: function heading differs from prototype
Код:
#define BULLET_HIT_TYPE_NONE 0 #define BULLET_HIT_TYPE_PLAYER 1 #define BULLET_HIT_TYPE_VEHICLE 2 #define BULLET_HIT_TYPE_OBJECT 3 #define BULLET_HIT_TYPE_PLAYER_OBJECT 4
Код:
forward OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:bX, Float:bY, Float:bZ);