HELP! [How to Make Anims for RP Gamemode uses the easy way!]
#1

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 ?!
Reply
#2

learn here:
https://sampwiki.blast.hk/wiki/ApplyAnimation
Reply
#3

kk , where i need to set this:

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

At your anim cmd.
Reply
#5

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

strcmp
Reply
#7

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

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

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

Reply
#10

i got two errors how can i fix it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)