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;
}
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.
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 |