[Include] Callbackz (Beta)
#21

y have not scripted YSI as you can see, and i haven't that errors, here i left you a link with my YSI version:
Link
Reply
#22

Quote:
Originally Posted by the_chaoz
Посмотреть сообщение
y have not scripted YSI as you can see, and i haven't that errors, here i left you a link with my YSI version:
Link
New error:
PHP код:
pawno\include\YSI\y_hooks.inc(1572) : error 021symbol already defined"OnPlayerLeaveCheckpoint"
pawno\include\YSI\y_hooks.inc(3129) : warning 235: public function lacks forward declaration (symbol "OnPlayerLogin")
pawno\include\YSI\y_hooks.inc(3191) : warning 235: public function lacks forward declaration (symbol "OnPlayerLogout")
pawno\include\Callbackz.inc(480) : error 017undefined symbol "rondom"
pawno\include\Callbackz.inc(485) : error 017undefined symbol "Plate"
pawno\include\Callbackz.inc(494) : error 017undefined symbol "rondom"
pawno\include\Callbackz.inc(499) : error 017undefined symbol "Plate"
gamemodes\lvdm.pwn(2439) : warning 219local variable "pHealth" shadows a variable at a preceding level
gamemodes
\lvdm.pwn(2439) : warning 219local variable "pArmour" shadows a variable at a preceding level
gamemodes
\lvdm.pwn(2441) : error 035argument type mismatch (argument 2)
gamemodes\lvdm.pwn(2442) : error 035argument type mismatch (argument 2)
gamemodes\lvdm.pwn(2451) : warning 213tag mismatch
gamemodes
\lvdm.pwn(2451) : warning 213tag mismatch
gamemodes
\lvdm.pwn(2439) : warning 203symbol is never used"pArmour"
gamemodes\lvdm.pwn(2439) : warning 203symbol is never used"pHealth"
lvdm.pwn(3180) : error 035argument type mismatch (argument 2)
lvdm.pwn(4542) : error 035argument type mismatch (argument 2)
gamemodes\lvdm.pwn(5743) : error 025: function heading differs from prototype
gamemodes
\lvdm.pwn(5744) : error 025: function heading differs from prototype
gamemodes
\lvdm.pwn(6949) : error 021symbol already defined"crossp"
gamemodes\lvdm.pwn(6958) : error 021symbol already defined"GetDistanceFromPointToLine"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
14 Errors

Reply
#23

Код:
pawnoincludeYSIy_hooks.inc(3129) : warning 235: public function lacks forward declaration (symbol "OnPlayerLogin")
pawnoincludeYSIy_hooks.inc(3191) : warning 235: public function lacks forward declaration (symbol "OnPlayerLogout")
forward them.

Код:
pawnoincludeCallbackz.inc(480) : error 017: undefined symbol "rondom"
pawnoincludeCallbackz.inc(485) : error 017: undefined symbol "Plate"
pawnoincludeCallbackz.inc(494) : error 017: undefined symbol "rondom"
pawnoincludeCallbackz.inc(499) : error 017: undefined symbol "Plate"
download new version 1.1

Код:
gamemodeslvdm.pwn(2439) : warning 219: local variable "pHealth" shadows a variable at a preceding level
gamemodeslvdm.pwn(2439) : warning 219: local variable "pArmour" shadows a variable at a preceding level
gamemodeslvdm.pwn(2439) : warning 203: symbol is never used: "pArmour"
gamemodeslvdm.pwn(2439) : warning 203: symbol is never used: "pHealth"
as the script use pHeath, and pArmour, you have to define them with an other name.

Код:
gamemodeslvdm.pwn(2451) : warning 213: tag mismatch
gamemodeslvdm.pwn(2451) : warning 213: tag mismatch 
lvdm.pwn(3180) : error 035: argument type mismatch (argument 2)
lvdm.pwn(4542) : error 035: argument type mismatch (argument 2)
gamemodeslvdm.pwn(5743) : error 025: function heading differs from prototype
gamemodeslvdm.pwn(5744) : error 025: function heading differs from prototype
code?

Код:
gamemodeslvdm.pwn(6949) : error 021: symbol already defined: "crossp"
gamemodeslvdm.pwn(6958) : error 021: symbol already defined: "GetDistanceFromPointToLine"
these functions are already defined on my include, so delete them from ur script.
Reply
#24

Quote:
Originally Posted by the_chaoz
Посмотреть сообщение
Код:
pawnoincludeYSIy_hooks.inc(3129) : warning 235: public function lacks forward declaration (symbol "OnPlayerLogin")
pawnoincludeYSIy_hooks.inc(3191) : warning 235: public function lacks forward declaration (symbol "OnPlayerLogout")
forward them.

Код:
pawnoincludeCallbackz.inc(480) : error 017: undefined symbol "rondom"
pawnoincludeCallbackz.inc(485) : error 017: undefined symbol "Plate"
pawnoincludeCallbackz.inc(494) : error 017: undefined symbol "rondom"
pawnoincludeCallbackz.inc(499) : error 017: undefined symbol "Plate"
download new version 1.1

Код:
gamemodeslvdm.pwn(2439) : warning 219: local variable "pHealth" shadows a variable at a preceding level
gamemodeslvdm.pwn(2439) : warning 219: local variable "pArmour" shadows a variable at a preceding level
gamemodeslvdm.pwn(2439) : warning 203: symbol is never used: "pArmour"
gamemodeslvdm.pwn(2439) : warning 203: symbol is never used: "pHealth"
as the script use pHeath, and pArmour, you have to define them with an other name.

Код:
gamemodeslvdm.pwn(2451) : warning 213: tag mismatch
gamemodeslvdm.pwn(2451) : warning 213: tag mismatch 
lvdm.pwn(3180) : error 035: argument type mismatch (argument 2)
lvdm.pwn(4542) : error 035: argument type mismatch (argument 2)
gamemodeslvdm.pwn(5743) : error 025: function heading differs from prototype
gamemodeslvdm.pwn(5744) : error 025: function heading differs from prototype
code?

Код:
gamemodeslvdm.pwn(6949) : error 021: symbol already defined: "crossp"
gamemodeslvdm.pwn(6958) : error 021: symbol already defined: "GetDistanceFromPointToLine"
these functions are already defined on my include, so delete them from ur script.
two erros:
PHP код:
pawno\include\YSI\y_hooks.inc(1512) : error 021symbol already defined"OnPlayerEnterCheckpoint"
pawno\include\YSI\y_hooks.inc(1572) : error 021symbol already defined"OnPlayerLeaveCheckpoint"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
2 Errors

Reply
#25

hmmm dno i don't have that error's and is not from this include. ask on YSI topic about them or search.
Reply
#26

Quote:
Originally Posted by the_chaoz
Посмотреть сообщение
if you have an other method please tell me and i'll implement it, but it's the only way i know (thx to JernejL)
For now I don't know any other method, maybe some weird textdraw which disconnects the player or something but anyway the end users should be informed about the dangers of your current reconnect function so they won't 'reaport' a bug or beg for help with it... while you cannot do anything at all.
Reply
#27

Nice realease,very useful
Reply
#28

How to check if the player left the AFK?
Reply
#29

Quote:
Originally Posted by NeyMar96
Посмотреть сообщение
How to check if the player left the AFK?
pawn Код:
IsPlayerAFK(playerid)
Reply
#30

Lol this is what i have when i include your include ... xD

Код:
D:\GTA\Police VS Terrorists\pawno\include\YSI\y_hooks.inc(918) : error 025: function heading differs from prototype
D:\GTA\Police VS Terrorists\pawno\include\Callbackz.inc(231) : error 025: function heading differs from prototype
D:\GTA\Police VS Terrorists\pawno\include\Callbackz.inc(547) : error 029: invalid expression, assumed zero
D:\GTA\Police VS Terrorists\pawno\include\foreach.inc(567) : warning 209: function "S@@_OnFilterScriptInit" should return a value
D:\GTA\Police VS Terrorists\pawno\include\YSI/y_hooks.inc(872) : error 025: function heading differs from prototype
D:\GTA\Police VS Terrorists\pawno\include\YSI/y_hooks.inc(908) : error 025: function heading differs from prototype
D:\GTA\Police VS Terrorists\pawno\include\YSI/y_hooks.inc(909) : error 021: symbol already defined: "S@@_OnPlayerInteriorChange"
D:\GTA\Police VS Terrorists\pawno\include\YSI/y_hooks.inc(910) : warning 213: tag mismatch
D:\GTA\Police VS Terrorists\pawno\include\YSI/y_hooks.inc(918) : error 025: function heading differs from prototype
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(295) : error 021: symbol already defined: "S@@_OnFilterScriptInit"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(349) : error 021: symbol already defined: "S@@_OnFilterScriptExit"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(355) : error 021: symbol already defined: "S@@_OnPlayerSpawn"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(367) : error 021: symbol already defined: "S@@_OnPlayerCommandText"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(1801) : error 021: symbol already defined: "S@@_OnDialogResponse"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(2318) : error 021: symbol already defined: "S@@_OnVehicleSpawn"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(2324) : error 021: symbol already defined: "S@@_OnPlayerStateChange"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(2340) : error 021: symbol already defined: "S@@_OnPlayerExitVehicle"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(2349) : error 021: symbol already defined: "S@@_OnPlayerConnect"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(2370) : error 021: symbol already defined: "S@@_OnPlayerDisconnect"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(2407) : error 021: symbol already defined: "S@@_OnPlayerDeath"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(2412) : error 021: symbol already defined: "S@@_OnPlayerText"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(2471) : error 021: symbol already defined: "S@@_OnPlayerEnterVehicle"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(2476) : error 021: symbol already defined: "S@@_OnPlayerClickPlayer"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(2490) : error 021: symbol already defined: "S@@_OnRconCommand"
D:\GTA\Police VS Terrorists\filterscripts\[MV]_cPanel.pwn(2788) : error 021: symbol already defined: "S@@_OnPlayerUpdate"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


23 Errors.
Reply
#31

Quote:
Originally Posted by Hiddos
Посмотреть сообщение


It uses the ban ip 'glitch'. Ban somebody's IP and he'll lose connection to the server. Unban his IP at OnPlayerDisconnect and he'll re-join.
Sorry a cow farted on me and I was brain washed.
Reply
#32

Can you add natives in the include is more easy to remember the functions.
Reply
#33

New version available.
Added some functions and the code was improved.
Reply
#34

Very Cooool Include Good Job!
Reply
#35

well done in releasing it ,
Many of functions included in this were unknown
Thanks for it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)