Anims
#1

Well I've got a problem. Only 1 animation is working...

Code:
PHP код:
OnPlayerCommand
    
if(strcmp(cmdtext"/walkdrunk"true) == 0)
    {
        
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1,1);
    }
    if(
strcmp(cmdtext"/gwalk1"true) == 0)
    {
        
ApplyAnimation(playerid,"PED","WALK_gang1 ",4.1,1,1,1,1,1,1);
    }
    if(
strcmp(cmdtext"/gwalk2"true) == 0)
    {
        
ApplyAnimation(playerid,"PED","WALK_gang2 ",4.1,1,1,1,1,1,1);
    }
    if(
strcmp(cmdtext"/oldwalk"true) == 0)
    {
        
ApplyAnimation(playerid,"PED","WALK_old ",4.1,1,1,1,1,1,1);
    }
    if(
strcmp(cmdtext"/walkarmed"true) == 0)
    {
        
ApplyAnimation(playerid,"PED","WALK_armed ",4.1,1,1,1,1,1,1);
    }
    if(
strcmp(cmdtext"/walkciv"true) == 0)
    {
        
ApplyAnimation(playerid,"PED","WALK_civi ",4.1,1,1,1,1,1,1);
    }
    return 
0;

Only /walkdrunk is working
Reply


Messages In This Thread
Anims - by Twinki1993 - 25.02.2012, 20:43
Re: Anims - by GtasaPoliceModz - 25.02.2012, 20:46
Re: Anims - by Twinki1993 - 25.02.2012, 20:47
Re: Anims - by GtasaPoliceModz - 25.02.2012, 20:49
Re: Anims - by Twinki1993 - 25.02.2012, 20:50
Re: Anims - by FalconX - 25.02.2012, 20:52
Re: Anims - by Twinki1993 - 25.02.2012, 20:55
Re: Anims - by GtasaPoliceModz - 25.02.2012, 20:58
Re: Anims - by FalconX - 25.02.2012, 20:59
Re: Anims - by Twinki1993 - 25.02.2012, 20:59

Forum Jump:


Users browsing this thread: 1 Guest(s)