error 079:inconsistent return types (array & non-array).
#1

Can you help with those errors guys ?

pawn Код:
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(420) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(421) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(422) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(423) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(424) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(425) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(426) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(427) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(428) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(429) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(430) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(431) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(432) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(433) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(434) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(435) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(436) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(437) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(438) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(439) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(440) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(441) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(442) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(443) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(444) : error 079: inconsistent return types (array & non-array)
C:\Program Files\GTA - San Andreas\Server\gamemodes\base.pwn(445) : error 079: inconsistent return types (array & non-array)

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
Lines:
pawn Код:
INI_Int("Password",PlayerInfo[playerid][pPass]);
    INI_Int("Level",PlayerInfo[playerid][pLevel]);
    INI_Int("Respect",PlayerInfo[playerid][pExp]);
    INI_Int("Sex",PlayerInfo[playerid][pSex]);
    INI_Int("Age",PlayerInfo[playerid][pAge]);
    INI_Int("Origin",PlayerInfo[playerid][pOrigin]);
    INI_Int("Cash",PlayerInfo[playerid][pCash]);
    INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
    INI_Int("Kills",PlayerInfo[playerid][pKills]);
    INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
    INI_Int("Muted", PlayerInfo[playerid][pMuted]);
    INI_Int("Int", PlayerInfo[playerid][pInt]);
    INI_Int("Local", PlayerInfo[playerid][pLocal]);
    INI_Int("VirWorld", PlayerInfo[playerid][pVirWorld]);
    INI_Int("Model", PlayerInfo[playerid][pModel]);
    INI_Int("Tut", PlayerInfo[playerid][pTut]);
    INI_Float("Health",PlayerInfo[playerid][pHealth]);
    INI_Float("Armour",PlayerInfo[playerid][pArmour]);
    INI_Float("X",PlayerInfo[playerid][pPosx]);
    INI_Float("Y",PlayerInfo[playerid][pPosy]);
    INI_Float("Z",PlayerInfo[playerid][pPosz]);
    INI_Float("A",PlayerInfo[playerid][pPosa]);
    INI_Int("Weapon1",PlayerInfo[playerid][pW1]);
    INI_Int("AmmuWeapon1",PlayerInfo[playerid][pWam1]);
    INI_Int("Weapon2",PlayerInfo[playerid][pW2]);
    INI_Int("AmmuWeapon2",PlayerInfo[playerid][pWam2]);
Help plz ..
Reply
#2

you downlaod Script machine? then he give you that error?
Reply
#3

Quote:
Originally Posted by ScRipTeRi
Посмотреть сообщение
you downlaod Script machine? then he give you that error?
No,I am using regular pawn..
Reply
#4

Can you show us all your PlayerInfo enums + defines. Such as, where you have defined pModel etc.

Also, do you have y_ini included in your script? (#include <y_ini>)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)