Help SLEEP script
#8

Try adding this:
pawn Код:
PreloadAnimLib(playerid, animlib[]) ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    PreloadAnimLib(playerid,"BOMBER"); PreloadAnimLib(playerid,"RAPPING"); PreloadAnimLib(playerid,"SHOP");
    PreloadAnimLib(playerid,"BEACH"); PreloadAnimLib(playerid,"SMOKING"); PreloadAnimLib(playerid,"FOOD");
    PreloadAnimLib(playerid,"ON_LOOKERS"); PreloadAnimLib(playerid,"DEALER"); PreloadAnimLib(playerid,"CRACK");
    PreloadAnimLib(playerid,"CARRY"); PreloadAnimLib(playerid,"COP_AMBIENT"); PreloadAnimLib(playerid,"PARK");
    PreloadAnimLib(playerid,"INT_HOUSE"); PreloadAnimLib(playerid,"PED"); PreloadAnimLib(playerid,"MISC");
    PreloadAnimLib(playerid,"OTB"); PreloadAnimLib(playerid,"BD_Fire"); PreloadAnimLib(playerid,"BENCHPRESS");
    PreloadAnimLib(playerid,"KISSING"); PreloadAnimLib(playerid,"BSKTBALL"); PreloadAnimLib(playerid,"MEDIC");
    PreloadAnimLib(playerid,"SWORD"); PreloadAnimLib(playerid,"POLICE"); PreloadAnimLib(playerid,"SUNBATHE");
    PreloadAnimLib(playerid,"FAT"); PreloadAnimLib(playerid,"WUZI"); PreloadAnimLib(playerid,"SWEET");
    PreloadAnimLib(playerid,"ROB_BANK"); PreloadAnimLib(playerid,"GANGS"); PreloadAnimLib(playerid,"RIOT");
    PreloadAnimLib(playerid,"GYMNASIUM"); PreloadAnimLib(playerid,"CAR"); PreloadAnimLib(playerid,"CAR_CHAT");
    PreloadAnimLib(playerid,"GRAVEYARD"); PreloadAnimLib(playerid,"POOL");
    return 1;
}
To be honest, im not sure what it does really, but it's needed when using animations.
Reply


Messages In This Thread
Help SLEEP script - by DukeVega - 30.01.2015, 17:51
Re: Help SLEEP script - by CalvinC - 30.01.2015, 17:56
Re: Help SLEEP script - by DukeVega - 30.01.2015, 18:01
Re: Help SLEEP script - by CalvinC - 30.01.2015, 18:16
Re: Help SLEEP script - by DukeVega - 30.01.2015, 18:21
Re: Help SLEEP script - by CalvinC - 30.01.2015, 18:35
Re: Help SLEEP script - by DukeVega - 30.01.2015, 18:53
Re: Help SLEEP script - by CalvinC - 30.01.2015, 18:58

Forum Jump:


Users browsing this thread: 1 Guest(s)