SA-MP Forums Archive
3 Error's - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3 Error's (/showthread.php?tid=515919)



3 Error's - gekas - 28.05.2014

Hello everybody can to help mee?

This is ok

PHP код:
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 
When i add this

PHP код:
#include <YSI\y_master> 
PHP код:
#include <YSI\y_ini> 
He show mee this error.

PHP код:
C:\Users\Arlind\Desktop\COPSAN~1\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
C
:\Users\Arlind\Desktop\COPSAN~1\pawno\include\YSI\y_hooks/impl.inc(2339) : error 025: function heading differs from prototype
C
:\Users\Arlind\Desktop\COPSAN~1\pawno\include\YSI\y_hooks/impl.inc(2386) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
3 Errors

1755 line
PHP код:
             if(gTeam[playerid] == TEAM_CIVILIAN)
             {
                 
GameTextForPlayer(playerid"~r~/robburger",3000,3);
                
SendClientMessage(playerid0x00FFFFFF"Type /robburger to start a robbery.");
             }
         } 
The line of errorr
[php] if(gTeam[playerid] == TEAM_CIVILIAN)

2339 line
PHP код:
        if(gTeam[playerid] == TEAM_CIVILIAN)
        {
            new 
id;
            
tmp strtok(cmdtextidx);
            if(
strlen(tmp))
            { 
PHP код:
new id
2386 line
PHP код:
                                        if(gTeam[id] == TEAM_COPS)
                                        {
                                            if(
Jailed[id] == false && Jailed[playerid] == true)
                                            {
                                                
SendClientMessage(playerid0xFF0000AA"You can't rob a person from outside the jail.");
                                            }
                                            else
                                            { 
PHP код:
SendClientMessage(playerid0xFF0000AA"You can't rob a person from outside the jail."); 



Re: 3 Error's - Ghazal - 28.05.2014

The errors are in impl.inc
Not in the game mode.


Re: 3 Error's - biker122 - 28.05.2014

It's not the problem with your gamemode.
I suggest you replacing the YSI libraries.


Re: 3 Error's - gekas - 28.05.2014

-.- Ohh

What can i do ?

To uprage any new impl.inc


Re: 3 Error's - biker122 - 28.05.2014

As I said, Try to replace/reinstall YSI libraries...


Re: 3 Error's - gekas - 28.05.2014

Yeah I download a new ysi libraries


Re: 3 Error's - gekas - 28.05.2014

Thnx For help

FIXED