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
#2

Where do you got that fucntion from?
I just ******d it and couldn't find a single site containing that function (StopLoopingAnimations)

[This forum requires that you wait 120 seconds between posts. Please try again in 30 seconds.] - stfu
Reply
#3

Actually my friend told me about that function. I couldn't find it either, but he said they worked...
Reply
#4

Well it's not, so next time check before listening to your friend :L
You have to make it yourself, or find an existing, and of course, working one.

[This forum requires that you wait 120 seconds between posts. Please try again in 69 seconds.] Up yours
Reply
#5

Quote:
Originally Posted by LarzI
Посмотреть сообщение
Well it's not, so next time check before listening to your friend :L
You have to make it yourself, or find an existing, and of course, working one.

[This forum requires that you wait 120 seconds between posts. Please try again in 69 seconds.] Up yours
Okay, well thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)