09.09.2011, 10:40
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 ?!

can someone help me ?!
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1,1);
if(strcmp(cmd, "/drunk", true) == 0) {
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
return 1;
}
// /drunk
if(!strcmp(cmdtext, "/do", true) == 0)
{
ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
}
return 1;
}
C:\Users\Josh\Desktop\gta server\gamemodes\JoshRPG.pwn(215) : error 010: invalid function or declaration
C:\Users\Josh\Desktop\gta server\gamemodes\JoshRPG.pwn(219) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.