OnPlayerDisconect help.
#7

Quote:
Originally Posted by ♣ ⓐⓢⓢ
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    GetPlayerName(playerid, savedNames[savePos], MAX_PLAYER_NAME);

    savedInfo[savePos][0] = bounty[playerid];
    savedInfo[savePos][1] = 0;

    for(new i; i < MAX_WEAPONS; i++)
        playerWeapons[playerid][i] = 0,
        savedWeapons[savePos][i] = playerWeapons[playerid][i];

    new Reasons[][] = { "Timeout", "Leaving", "Kicked" };
    format(string,sizeof(string), "* %s left the server. (%s) (ID:%d).", savedNames[savePos], Reasons[reason], playerid);
    SendClientMessageToAll(COLOR_DIS_RED, string);

    if(++savePos >= MAX_SAVE) savePos = 0;
    MiniAntiSpamCount[playerid] = 0;
    bounty[playerid] = 0;
    return true;
}
E:\Games\GTA San Andreas\Mods, Cheats ,Dedicated servers\SA-MP Server\gamemodes\lsu.pwn(128 : error 017: undefined symbol "string"
E:\Games\GTA San Andreas\Mods, Cheats ,Dedicated servers\SA-MP Server\gamemodes\lsu.pwn(128 : error 017: undefined symbol "string"
E:\Games\GTA San Andreas\Mods, Cheats ,Dedicated servers\SA-MP Server\gamemodes\lsu.pwn(128 : error 029: invalid expression, assumed zero
E:\Games\GTA San Andreas\Mods, Cheats ,Dedicated servers\SA-MP Server\gamemodes\lsu.pwn(128 : fatal error 107: too many error messages on one line

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


4 Errors.
Reply


Messages In This Thread
OnPlayerDisconect help. - by Headyheadster - 29.03.2009, 10:09
Re: OnPlayerDisconect help. - by Headyheadster - 29.03.2009, 11:30
Re: OnPlayerDisconect help. - by hamptonin - 29.03.2009, 11:34
Re: OnPlayerDisconect help. - by illay - 29.03.2009, 11:37
Re: OnPlayerDisconect help. - by Headyheadster - 29.03.2009, 12:03
Re: OnPlayerDisconect help. - by Nero_3D - 29.03.2009, 12:22
Re: OnPlayerDisconect help. - by Headyheadster - 29.03.2009, 12:25
Re: OnPlayerDisconect help. - by Nero_3D - 29.03.2009, 12:35
Re: OnPlayerDisconect help. - by Headyheadster - 29.03.2009, 13:00

Forum Jump:


Users browsing this thread: 1 Guest(s)