SX event system
#1

have a problem in SX event system i do anything and it say

PHP код:
D:\samp folder\FR 2013\filterscripts\event.pwn(880) : warning 206: redundant test: constant expression is non-zero
D
:\samp folder\FR 2013\filterscripts\event.pwn(880) : warning 215: expression has no effect
D
:\samp folder\FR 2013\filterscripts\event.pwn(1511) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664              Copyright 
(c) 1997-2006, ITB CompuPhase
1 Error
. 
Line [1511]:

PHP код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart) 
Line [800]:

PHP код:
    totalp_event=0; 
please help me in it
Reply
#2

Use the latest samp includes.
Reply
#3

Line 880 Please.
Reply
#4

i looked at the script.

There is not error on line 800
The error is in line 880

You have to change
Код:
mysql_debug(1);
To fix it,change it to
Код:
mysql_log(LOG_ERROR | LOG_WARNING);
Reply
#5

i neeed any one send me includes pls
Reply
#6

Quote:
Originally Posted by Loinal
Посмотреть сообщение
i neeed any one send me includes pls
Oh,all the includes Here.
Reply
#7

pls any one send me at pm
Reply
#8

Quote:
Originally Posted by Loinal
Посмотреть сообщение
i neeed any one send me includes pls
http://www.solidfiles.com/d/1d420bcbcc/
I added some other includes too,which will help compiling scripts
Reply
#9

Ty For All helping me
Reply
#10

it need mysql and i have connected it and now not loading

it say

PHP код:
[20:12:02]   Loading filterscript 'event.amx'...
[
20:12:02] *** Streamer Plugin: Include file version (0x26105) does not match plugin version (0x26104) (script needs to be recompiled with the latest include file)
[
20:12:02]   Loaded 4 filterscripts.
[
20:12:02] *** Streamer Plugin: Include file version (0) does not match plugin version (0x26104) (script needs to be recompiled with the latest include file)
[
20:12:02] *** Streamer Plugin: Obsolete or invalid native found (script needs to be recompiled with the latest include file) 
Reply


Forum Jump:


Users browsing this thread: