15.10.2009, 18:32
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?
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?