Skin Selection with random animations help! +REP
#1

if skin selection appeared. i want the character to do the random animations Example:

ApplyAnimation(playerid, "PED", "WALK_DRUNK", 4.1, 1, 1, 1, 1, 1, 1);

ApplyAnimation(playerid, "FIGHT_B", "FightB_1", 4.1, 1, 1, 1, 1, 1, 1);

can you guys help me?

The Second Problem.

When in skin selection..the animations just started when i pressed the arrow button. how can i fix that?
Reply
#2

PHP код:
public OnPlayerRequestClass(playeridclassid)
{
    switch(
random(2))
    {
        case 
0ApplyAnimation(playerid"PED""WALK_DRUNK"4.1111111);
        case 
1ApplyAnimation(playerid"FIGHT_B""FightB_1"4.1111111);
    }
    return 
true;

The second not i understood it, could you explain more?
Reply
#3

Nevermine dude you already fixed it! thanks!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)