Can anyone please help me? [+REP]
#1

Hey everyone!

I'm new at scripting, so I got an easy script from the forums that's under developpment (Fallout 3), and I mapped a new city (Megaton), and I am working on the entrance command when all of a sudden, I get so many errors. Can someone maybe help me fix the errors, then recompile it and send it back, or just send back the code, whatever is good with you, just make sure it's in 0.3d.

Thanks guys!

Script:
http://www.mediafire.com/?49s42wuhkzaptq5

Here are the errors I get:
Код:
C:\Users\Kubera\Desktop\F3\pawno\include\fade.inc(99) : error 004: function "OnPlayerScreenFade" is not implemented
C:\Users\Kubera\Desktop\F3\pawno\include\fade.inc(115) : error 004: function "OnPlayerScreenColorFade" is not implemented
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(293) : error 017: undefined symbol "LoadStreamedObjects"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(294) : error 017: undefined symbol "LoadTextLabels"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(295) : error 017: undefined symbol "LoadNPC"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(296) : error 017: undefined symbol "LoadRadiationZones"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(321) : error 017: undefined symbol "LoadPlayerMap"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(323) : error 017: undefined symbol "ResetPlayerMoneyEx"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(324) : error 017: undefined symbol "SetupPlayerVariables"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(325) : error 017: undefined symbol "PlayerLoginSpec"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(326) : error 017: undefined symbol "PlayerLoginScreen"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(327) : error 017: undefined symbol "ClearPlayerChat"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(328) : error 017: undefined symbol "GetName"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(369) : error 017: undefined symbol "GetName"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(382) : error 017: undefined symbol "GetName"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(386) : error 017: undefined symbol "PlayerFile"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(387) : error 017: undefined symbol "PlayerFile"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(388) : error 017: undefined symbol "PlayerFile"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(389) : error 017: undefined symbol "PlayerFile"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(394) : error 017: undefined symbol "PlayerFile"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(395) : error 017: undefined symbol "PlayerFile"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(396) : error 017: undefined symbol "PlayerFile"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(397) : error 017: undefined symbol "PlayerFile"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(398) : error 017: undefined symbol "PlayerFile"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(402) : error 017: undefined symbol "PlayerFile"
C:\Users\Kubera\Desktop\F3\gamemodes\Fallout.pwn(434) : error 017: undefined symbol "SpawnPlayerRandomly"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#2

Check your script, should be missing { or }
Reply
#3

Quote:
Originally Posted by sabretur
Посмотреть сообщение
Check your script, should be missing { or }
Doesn't look like it's missing anything
Reply
#4

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    //OnShadowCommand(playerid, cmdtext);
    if(PlayerInfo[playerid][Logged] == false)
        return SendClientMessage(playerid, 0xFFFFFFAA, "{3333DD}-- Commands:{FFFFFF} You may not use any commands before logging in.");
    dcmd(help, 4, cmdtext);
    dcmd(o, 1, cmdtext);
    dcmd(do, 2, cmdtext);
    dcmd(me, 2, cmdtext);
    dcmd(b, 1, cmdtext);
    dcmd(s, 1, cmdtext);
    dcmd(shelter, 7, cmdtext);
    dcmd(deposit, 7, cmdtext);
    dcmd(withdraw, 8, cmdtext);
    dcmd(balance, 7, cmdtext);
    dcmd(pm, 2, cmdtext);
    dcmd(water, 5, cmdtext);
    dcmd(snake, 5, cmdtext);
    dcmd(changeclothes, 13, cmdtext);
    dcmd(admins, 6, cmdtext);
    dcmd(setadmin, 8, cmdtext);
    dcmd(ban, 3, cmdtext);
    dcmd(kick, 4, cmdtext);
    dcmd(adminhelp, 9, cmdtext);
    dcmd(drop, 4, cmdtext);
    dcmd(kill, 4, cmdtext);
    dcmd(goto, 4, cmdtext);
    dcmd(get, 3, cmdtext);
    dcmd(giveweapon, 10, cmdtext);
    dcmd(setskin, 7, cmdtext);
    dcmd(lock, 4, cmdtext);
    dcmd(buy, 3, cmdtext);
    dcmd(house, 5, cmdtext);
    if (strcmp("/enter", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,10, 52.0361,2503.7595,16.4922))
        {
            SetPlayerPos(playerid, 133.0946,2489.1416,16.4922);
            SetPlayerInterior(playerid, 0);
            //SetPlayerVirtualWorld(playerid, VIRTUALWORLD); // Optional
            SetCameraBehindPlayer(playerid);
        }
        return 1;
    }
    return SendClientMessage(playerid, 0xFFFFFFAA, "{3333DD}-- Commands:{FFFFFF} That command does not exist.");
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)