Weird Problem
#1

hey, guys i was bored and i was scripting and i just added
pawn Код:
#include <dini>
and i compiled
pawn Код:
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(4) : fatal error 100: cannot read from file: "dini"

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


1 Error.
it's fine i don't have dini but now i even can't remove it When i do these errors come

pawn Код:
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(239) : error 017: undefined symbol "GetOnLinePlayers"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(269) : error 017: undefined symbol "TEAM_GANG"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(272) : warning 202: number of arguments does not match definition
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(275) : error 017: undefined symbol "TEAM_LSPD"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(278) : warning 202: number of arguments does not match definition
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(283) : warning 217: loose indentation
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(283) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(283) : error 004: function "OnPlayerDeath" is not implemented
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(288) : error 017: undefined symbol "killerid"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(291) : error 017: undefined symbol "killerid"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(298) : warning 225: unreachable code
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(298) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(298) : error 004: function "OnVehicleSpawn" is not implemented
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(303) : warning 225: unreachable code
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(303) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(303) : error 004: function "OnVehicleDeath" is not implemented
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(308) : warning 225: unreachable code
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(308) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(308) : error 004: function "OnPlayerText" is not implemented
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(313) : warning 225: unreachable code
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(313) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(313) : error 004: function "zcmd_OnPlayerCommandText" is not implemented
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(315) : error 017: undefined symbol "cmdtext"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(322) : warning 225: unreachable code
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(322) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(322) : error 004: function "OnPlayerEnterVehicle" is not implemented
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(327) : warning 225: unreachable code
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(327) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(327) : error 004: function "OnPlayerExitVehicle" is not implemented
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(332) : warning 225: unreachable code
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(332) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(332) : error 004: function "OnPlayerStateChange" is not implemented
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(337) : warning 225: unreachable code
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(337) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(337) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(342) : warning 225: unreachable code
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(342) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(342) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented

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


26 Errors.
Any one know what's going on?
Reply
#2

Mhm... anyone? :/
Reply
#3

Are you sure u have dini include in pawno/includes folder ?
Reply
#4

i don't use dini i removed it and then the 26 errors appeared
Reply
#5

Dini is the one that has all those commands.
That's why the errors appeared.
You need the include to have the function working.

Manual Way:
define it and stuff in the gamemode script.
Reply
#6

but i didn't used Dini...
pawn Код:
CMD:givemoney(playerid, params[])
All Zcmd
btw i got dini and now
pawn Код:
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(242) : error 017: undefined symbol "GetOnLinePlayers"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(272) : error 001: expected token: ")", but found "-integer value-"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(272) : warning 215: expression has no effect
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(272) : error 001: expected token: ";", but found ")"
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(272) : error 029: invalid expression, assumed zero
E:\GTA - San Andreas\Pawno Scripting\gamemodes\Script.pwn(272) : fatal error 107: too many error messages on one line

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


5 Errors.
Reply
#7

pawn Код:
public OnPlayerConnect(playerid)
{
    new pname[MAX_PLAYER_NAME], string[22 + MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "%s has joined the server", pname);
    SendClientMessageToAll(COLOR_GREEN, string);
    new strings[15];
    format(strings, 15, "%d/30",GetOnLinePlayers()); //299 Error line
    TextDrawSetString(players, strings);
    TextDrawShowForPlayer(playerid, players);
    return 1;
}
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(gTeam[playerid] == PAKISTAN 1); //330 error line
    {
        SetPlayerInterior(playerid, 0);
        SetPlayerPos(playerid, 0870,1815.6981,10.8203,193);
        return 1;
    }// ... got more script
Reply
#8

Where did you define the 'GetOnLinePlayers' function?
Reply
#9

Post the script of these lines.
Reply
#10

lol.. Old
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)