help problem with amination - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help problem with amination (
/showthread.php?tid=102483)
help problem with amination -
Pawno_Master - 15.10.2009
if i use this
public OnPlayerRequestClass(playerid, classid)
{
PlayerPlaySound(playerid,1062,0.0,0.0,0.0);
pClass[playerid] = classid; //Save the players classid to the array to use later.
SetupPlayerForClassSelection(playerid);
gPlayerClass[playerid] = classid;
switch (classid) {
case 0:
{
GameTextForPlayer(playerid, "~g~Leader LS Aztec Gang", 4000, 3);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1803.0720,-1905.3574,13.3997);
SetPlayerFacingAngle(playerid, 90.0);
SetPlayerCameraPos(playerid,1799.7915,-1905.0824,13.3999);
SetPlayerCameraLookAt(playerid,1803.0720,-1905.3574,13.3997);
ApplyAnimation(playerid,"RAPPING ","Laugh_01",4.1,1,1,1,1,1);
}
}
}
the animation wont work Why?
Re: help problem with amination -
Hiitch - 15.10.2009
did you preload the animation library? or are you just assuming that it will work without that?
Re: help problem with amination -
Pawno_Master - 15.10.2009
preload the directory??
Re: help problem with amination -
Peter_Corneile - 15.10.2009
Use this
https://sampwiki.blast.hk/wiki/Animations