Open marcelog09 opened 3 years ago
Same Here! Anyone can help us?
I have same problem.
Did anyone found fix for this ?
Same problem...
here too... same problem. YSI v5.05.0505
did anyone manage to solve it?
Is there any solution?
Any solution? We got same problem
yeah we are same here, also i've test it with planting the script on my GM. but there's a many bugs, just like when u hit the talk button the sampvoice script will call another script from your GM, idk why but yeah it seems like this is cannot use with YSI/foreach
I noticed that it doesn't work in my gamemode - only in filterscripts - and after some tests, I found out that there is some kind of incompatibility with foreach and / or YSI library.
In gamemode, when I put #include before #include , I get the following errors:
include\sampvoice.inc(72) : error 025: function heading differs from prototype include\sampvoice.inc(73) : error 025: function heading differs from prototype gamemodes \ voicetest.pwn (14): error 025: function heading differs from prototype gamemodes \ voicetest.pwn (24): error 025: function heading differs from prototype
Error lines: forward SV_VOID: OnPlayerActivationKeyPress (SV_UINT: playerid, SV_UINT: keyid); forward SV_VOID: OnPlayerActivationKeyRelease (SV_UINT: playerid, SV_UINT: keyid);
public SV_VOID: OnPlayerActivationKeyPress ( public SV_VOID: OnPlayerActivationKeyRelease (
And when placing #include after #include , no error is displayed, but the voice does not work - voices do not come out.
In filterscript - where there is no use of the foreach and / or YSI library - everything works correctly.
sampvoice version: 3.0-alpha YSI version: YSI-5.4.102
Is there any solution?