#1

pawn Код:
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(3463) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(3492) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(3838) : error 004: function "SafeSetPlayerInterior" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(3881) : error 017: undefined symbol "GetVehicleName"
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(3881) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(3897) : error 004: function "IsASalesVehicle" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(3901) : error 004: function "GetVehiclePrice" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(3996) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(4001) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(4006) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(4011) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(4016) : error 004: function "SafeSetPlayerPos" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(4826) : error 004: function "ABroadCast" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(4828) : error 004: function "ABroadCast" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(5628) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(5646) : error 004: function "SendAdminMessage" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(5651) : error 004: function "OnPlayerUpdateEx" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(5673) : error 004: function "SendAdminMessage" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(5684) : error 004: function "OnPlayerUpdateEx" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(5695) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(5703) : error 004: function "SendAdminMessage" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(5705) : error 004: function "SendAdminMessage" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(5855) : error 004: function "SendIRCMessage" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(5877) : error 004: function "SendIRCMessage" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(5889) : error 004: function "SaveCK" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(5919) : error 004: function "SavePapers" is not implemented
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(5950) : error 004: function "SaveFamilies" is not implemented

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


26 Errors.
->
pawn Код:
LINE: 3492
public ExtortionBiz(bizid, money)
{
    new string[128];
    format(string, sizeof(string), "No-one");
    if(strcmp(BizzInfo[bizid][bExtortion],string, true ) == 0 )
    {
        return 0;
    }
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            new name[MAX_PLAYER_NAME];
            new wstring[MAX_PLAYER_NAME];
            GetPlayerName(i, name, sizeof(name));
            format(string, sizeof(string), "%s", name);
            strmid(wstring, string, 0, strlen(string), 255);
            if(strcmp(BizzInfo[bizid][bExtortion] ,wstring, true ) == 0 )
            {
                new value = money / 100;
                value = value * 10;
                SafeGivePlayerMoney(i, value);
                BizzInfo[bizid][bTill] -= value;
            }
        }
    }
    return 1;
}

LINE: 3838
public Spectator()
{
    new string[350];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(Spectate[i] != 255)
            {
                new targetid = Spectate[i];
                if(IsPlayerConnected(targetid))
                {
                    if(PlayerInfo[i][pAdmin] >= 1)
                    {
                        new Float:health,Float:armour,Float:health2;
                        new name[MAX_PLAYER_NAME];
                        new money = GetPlayerMoney(targetid);
                        new carid = GetPlayerVehicleID(targetid);
                        new kmh = GetPlayerSpeed(targetid, true);
                        new bankmoney = PlayerInfo[targetid][pAccount];
                        GetPlayerName(targetid, name, sizeof(name));
                        GetPlayerHealth(targetid, health);
                        GetPlayerArmour(targetid, armour);
                        GetVehicleHealth(carid, health2);
                        if(!IsPlayerInAnyVehicle(targetid))
                        {
                            format(string, sizeof(string),"~p~- ~h~%s (ID: %d) ~p~-~n~~n~~n~ ~b~Health: ~w~%.1f ~g~:-: ~b~Armour: ~w~%.1f ~n~ ~b~Money: ~w~$%d ~g~:-: ~b~Bank: ~w~$%d",name,targetid,health,armour,money,bankmoney);
                            TextDrawSetString(Textdraw54[i],string);
                        }
                        else
                        {
                            format(string, sizeof(string),"~p~- ~h~%s (ID: %d) ~p~-~n~~n~~n~ ~b~Health: ~w~%.1f ~g~:-: ~b~Armour: ~w~%.1f ~n~ ~b~Money: ~w~$%d ~g~:-: ~b~Bank: ~w~$%d ~n~~n~~g~---------------------------------------------------~n~~n~ ~b~Vehicle ID: ~w~%d ~b~Vehicle HP: ~w~%.1f ~n~~n~~b~Speed: ~w~%d",name,targetid,health,armour,money,bankmoney,carid,health2,kmh);
                            TextDrawSetString(Textdraw54[i],string);
                        }
                    }
                    if(GetPlayerInterior(targetid) > 0)
                    {
                        SafeSetPlayerInterior(i,GetPlayerInterior(targetid));
                    }
                    if(GetPlayerVirtualWorld(targetid) > 0)
                    {
                        SetPlayerVirtualWorld(i,GetPlayerVirtualWorld(targetid));
                    }
                }//Targetid connected
            }
        }
    }
}
Let's start off with those two please.
Reply
#2

I think that you missed somewhere one bracket "}"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)