3 Errors
#1

Quote:

C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\sas-rp.pwn(3040) : error 035: argument type mismatch (argument 3)
C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\sas-rp.pwn(3054) : error 035: argument type mismatch (argument 3)
C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\LVRP\Gamemodes\sas-rp.pwn(306 : error 035: argument type mismatch (argument 3)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.
pawn Код:
stock SendDepartmentMessage(colour, string)
{
    #if defined DEBUG
    printf("[Debug] SendDepartmentMessage(Colour, %s);", string);
    #endif
    foreach(Player, i)
    {
        new fac = PlayerInfo[i][pMember];
        if(FactionInfo[fac][FactionType] == 1 || FactionInfo[fac][FactionType] == 2 || FactionInfo[fac][FactionType] == 3)
        {
            SendClientMessage(i, colour, string);//3040
        }
    }
}

stock SendJobMessage(colour, string, job)
{
    #if defined DEBUG
    printf("[Debug] SendFactionMessage(Colour, %s, %d);", string, job);
    #endif
    foreach(Player, i)
    {
        if(PlayerInfo[i][pJob] == job)
        {
            SendClientMessage(i, colour, string);//3054
        }
    }
}

stock SendFactionMessage(colour, string, faction)
{
    #if defined DEBUG
    printf("[Debug] SendFactionMessage(Colour, %s, %d);", string, faction);
    #endif
    foreach(Player, i)
    {
        if(PlayerInfo[i][pMember] == faction)
        {
            SendClientMessage(i, colour, string);//3068
        }
    }
}
Reply


Messages In This Thread
3 Errors - by seanny - 30.10.2012, 19:51
Re: 3 Errors - by gtakillerIV - 30.10.2012, 19:53
AW: 3 Errors - by Skimmer - 30.10.2012, 19:55
Re: 3 Errors - by seanny - 30.10.2012, 19:59
AW: 3 Errors - by Skimmer - 30.10.2012, 20:00
Re: 3 Errors - by CmZxC - 30.10.2012, 20:00
Re: 3 Errors - by gtakillerIV - 30.10.2012, 20:02
Re: 3 Errors - by seanny - 30.10.2012, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)