3 Error's
#1

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."); 
Reply
#2

The errors are in impl.inc
Not in the game mode.
Reply
#3

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

-.- Ohh

What can i do ?

To uprage any new impl.inc
Reply
#5

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

Yeah I download a new ysi libraries
Reply
#7

Thnx For help

FIXED
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)