PHP код:
stock PreloadAnimLib(playerid)
{
ApplyAnimation(playerid,"BOMBER","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"RAPPING","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"SHOP","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"BEACH","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"SMOKING","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"FOOD","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"ON_LOOKERS","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"DEALER","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"CRACK","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"CARRY","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"COP_AMBIENT","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"PARK","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"INT_HOUSE","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"FOOD","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"CRIB","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"ROB_BANK","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"JST_BUISNESS","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"PED","null",0.0,0,0,0,0,0);
ApplyAnimation(playerid,"OTB","null",0.0,0,0,0,0,0);
SetPVarInt(playerid, "Animations", 1);
}
Ну вот и всё, мы успешно сделали прогрузку анимаций.