#5

heres telemsg

pawn Код:
TeleMSG(playerid, telename[])
{
    GetPlayerName(playerid, PlayerName, sizeof(PlayerName));

    if(TPmsgs == 1)
    {
        if(GetPVarInt(playerid, "sendTPmsgs") == 1)
        {
            format(tmp, sizeof(tmp), ":: %s(%i) has gone to %s", PlayerName, playerid, telename);
            foreachex(Player, i)
            {
                if(GetPVarInt(i, "seeTPmsgs") == 1)
                {
                    SendClientMessage(i, COLOR_BRIGHTGREEN, tmp);
                }
            }
        }
    }
and here are errors

C:\DOCUME~1\Will\Desktop\SANAND~3\GAMEMO~1\SFSFV2~ 4.PWN(37) : error 035: argument type mismatch (argument 1)
C:\DOCUME~1\Will\Desktop\SANAND~3\GAMEMO~1\SFSFV2~ 4.PWN(36) : warning 203: symbol is never used: "idx"
C:\DOCUME~1\Will\Desktop\SANAND~3\GAMEMO~1\SFSFV2~ 4.PWN(192) : error 017: undefined symbol "PlayerName"
C:\DOCUME~1\Will\Desktop\SANAND~3\GAMEMO~1\SFSFV2~ 4.PWN(192) : error 017: undefined symbol "PlayerName"
C:\DOCUME~1\Will\Desktop\SANAND~3\GAMEMO~1\SFSFV2~ 4.PWN(192) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Will\Desktop\SANAND~3\GAMEMO~1\SFSFV2~ 4.PWN(192) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
Why wont my teles work :L - by WillyP - 25.07.2010, 15:03
Re: ... - by Shadow™ - 25.07.2010, 15:28
Re: ... - by WillyP - 25.07.2010, 19:05
Re: ... - by Shadow™ - 25.07.2010, 20:04
Re: ... - by WillyP - 25.07.2010, 20:24
Re: ... - by Shadow™ - 27.07.2010, 18:05
Re: ... - by WillyP - 29.07.2010, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)