Ich will NPC machen,dafür aber erst animationen,kann mir einer sagen was mein fehler ist?
C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(240) : error 017: undefined symbol "LoopingAnim"
C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(245) : error 017: undefined symbol "LoopingAnim"
C:\Users\Hami\Desktop\Happy Deathmatch\Happy Deathmatch\gamemodes\HappyDeathmatch.pwn(250) : error 017: undefined symbol "OnePlayAnim"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/animlist", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0x7AA4A6FF,"Verfügbare Animationen:");
SendClientMessage(playerid,0x7AA4A6FF,"/handsup /drunk /robman /deal");
}
if(strcmp("/handsup", cmdtext, true, 10) == 0)
{
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
return 1;
}
if(strcmp("/drunk", cmdtext, true, 10) == 0)
{
LoopingAnim(playerid,"PED","WALK_DRUNK",4.0,1,1,1,1,0);
return 1;
}
if (strcmp("/robman", cmdtext, true, 10) == 0)
{
LoopingAnim(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if (strcmp("/deal", cmdtext, true, 10) == 0)
{
OnePlayAnim(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
return 1;
}
Danke schonmal