2 Pawno Errors
#1

Okay. I've created these two commands;

pawn Код:
command(refresh, playerid, params[])
{
    #pragma unused params
    if(IsPlayerConnectedEx( playerid ) )
    {
        if(IsPlayerInAnyVehicle( playerid ) )
        {
            ClearAnimations(playerid);
            StopLoopingAnimations( playerid );
            TogglePlayerControllable( playerid, true );
            SetPlayerVirtualWorld(playerid, 0);
            SetPlayerInterior(playerid, 0);
            {
                SendClientMessage(playerid, COLOR_WHITE, "You have been refreshed!");
                return 1;
            }
        }
    }
    return 0;
}

command(stopanim, playerid, params[])
{
    #pragma unused params
    if(IsPlayerConnectedEx(playerid))
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            ClearAnimations(playerid);
            StopLoopingAnimations( playerid );
            TogglePlayerControllable( playerid, true );
            {
                SendClientMessage(playerid, COLOR_WHITE, "You have stopped your current animation!");
                return 1;
            }
        }
    }
    return 0;
}
However, Pawno returns these errors.

Код:
C:\Users\Nick Piccoli\Documents\The Ultimate Project\RP Script\gamemodes\Script.pwn(1297) : error 017: undefined symbol "StopLoopingAnimations"
C:\Users\Nick Piccoli\Documents\The Ultimate Project\RP Script\gamemodes\Script.pwn(1318) : error 017: undefined symbol "StopLoopingAnimations"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
What is wrong?
Reply


Messages In This Thread
2 Pawno Errors - by Scenario - 02.09.2010, 18:55
Re: 2 Pawno Errors - by LarzI - 02.09.2010, 18:57
Re: 2 Pawno Errors - by Scenario - 02.09.2010, 18:58
Re: 2 Pawno Errors - by LarzI - 02.09.2010, 19:03
Re: 2 Pawno Errors - by Scenario - 02.09.2010, 19:05

Forum Jump:


Users browsing this thread: 1 Guest(s)