SetPlayerFightingStyle
#1

Hey, im trying to make a command like /kungfu its very very simple, i just do

pawn Код:
if (strcmp(cmdtext, "/kungfu", true) == 0)
{
    SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
    SendClientMessage(playerid, COLOR_YELLOW, "FightStyle changed to: KungFu");
    return 1;
}
but then i get the error, error 017: undefined symbol "SetPlayerFightingStyle"
help?
Reply
#2

pawn Код:
if (strcmp(cmdtext, "/kungfu", true) == 0)
{
         SetPlayerFightingStyle(playerid,FIGHT_STYLE_KUNGFU);
         SendClientMessage(playerid, COLOR_YELLOW, "FightStyle changed to: KungFu");
         return 1;
}
https://sampwiki.blast.hk/wiki/Fightingstyles

https://sampwiki.blast.hk/wiki/SetPlayerFightingStyle
Reply
#3

Solved ~~ For every others who get this kinda problem, re-download the sa-mp server and put all the include's in the pawno folder by overwriting them...
the problem i was i had still the 0.2X includes :P
Reply
#4

lol oh gg xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)