[HELP] I cant fix that error!! :(
#1

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys & KEY_SECONDARY_ATTACK)
    {

    if (PlayerToPoint(0.5, playerid, -2038.6663,-87.8214,35.3203))
    {
            SetPlayerPos(playerid, -2038.6670,-87.1617,35.4203);
            return 1;
        }
    SendClientMessage(playerid, 0x804040FF, "You're not near any door !");
    return 1;
        }

    if (PlayerToPoint(1, playerid, -2038.7289,-86.5928,35.4203))
    {
            SetPlayerPos(playerid, -2038.5620,-88.3436,35.3203);
            return 1;
        }
    SendClientMessage(playerid, 0x804040FF, "You're not near any door !");
    return 1;
        }
    return 1; // <-------------- line 249
    }
After compile:
pawn Код:
C:\Documents and Settings\xxxxxxx\Desktop\Desktop\server\gamemodes\gmtest.pwn(249) : error 010: invalid function or declaration
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
[HELP] I cant fix that error!! :( - by Moustafa - 27.06.2009, 15:39
Re: [HELP] I cant fix that error!! :( - by Grim_ - 27.06.2009, 15:41
Re: [HELP] I cant fix that error!! :( - by farse - 27.06.2009, 15:42
Re: [HELP] I cant fix that error!! :( - by Moustafa - 27.06.2009, 15:45
Re: [HELP] I cant fix that error!! :( - by farse - 27.06.2009, 15:59
Re: [HELP] I cant fix that error!! :( - by Moustafa - 27.06.2009, 16:36
Re: [HELP] I cant fix that error!! :( - by ByFukara - 27.06.2009, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)