SA-MP Forums Archive
HELP! [How to Make Anims for RP Gamemode uses the easy way!] - 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)
+--- Thread: HELP! [How to Make Anims for RP Gamemode uses the easy way!] (/showthread.php?tid=282042)



HELP! [How to Make Anims for RP Gamemode uses the easy way!] - Santox14 - 09.09.2011

i want to create some commands for my RP Gamemode but i searched here and the things here doesnt work for me -.-


can someone help me ?!


Re: HELP! [How to Make Anims for RP Gamemode uses the easy way!] - Horrible - 09.09.2011

learn here:
https://sampwiki.blast.hk/wiki/ApplyAnimation


AW: HELP! [How to Make Anims for RP Gamemode uses the easy way!] - Santox14 - 09.09.2011

kk , where i need to set this:

PHP код:
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1,1); 



Re: HELP! [How to Make Anims for RP Gamemode uses the easy way!] - Davz*|*Criss - 09.09.2011

At your anim cmd.


Re: HELP! [How to Make Anims for RP Gamemode uses the easy way!] - Kingunit - 09.09.2011

Inside your command. What are you using? zcmd or strcmp, YCMD?


AW: HELP! [How to Make Anims for RP Gamemode uses the easy way!] - Santox14 - 09.09.2011

strcmp


AW: HELP! [How to Make Anims for RP Gamemode uses the easy way!] - Santox14 - 09.09.2011

i use strcmp , hmm... can u make a tut for me lol ? i dont get this https://sampwiki.blast.hk/wiki/ApplyAnimation


Re: HELP! [How to Make Anims for RP Gamemode uses the easy way!] - Darnell - 09.09.2011

pawn Код:
if(strcmp(cmd, "/drunk", true) == 0) {
        ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
        return 1;
    }



AW: HELP! [How to Make Anims for RP Gamemode uses the easy way!] - Santox14 - 09.09.2011

PHP код:

    
// /drunk
    
if(!strcmp(cmdtext"/do"true) == 0)
    {
    
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
    }
    return 
1;
    } 
PHP код:

C
:\Users\Josh\Desktop\gta server\gamemodes\JoshRPG.pwn(215) : error 010invalid function or declaration
C
:\Users\Josh\Desktop\gta server\gamemodes\JoshRPG.pwn(219) : error 010invalid function or declaration
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase


2 Errors




AW: HELP! [How to Make Anims for RP Gamemode uses the easy way!] - Santox14 - 09.09.2011

i got two errors how can i fix it?