25.07.2010, 20:24
heres telemsg
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
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);
}
}
}
}
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