SetPlayerFightingStyle - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetPlayerFightingStyle (
/showthread.php?tid=164397)
[SOLVED]SetPlayerFightingStyle -
Mike_Peterson - 31.07.2010
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?
Re: SetPlayerFightingStyle -
willsuckformoney - 31.07.2010
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
Re: SetPlayerFightingStyle -
Mike_Peterson - 31.07.2010
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
Re: SetPlayerFightingStyle -
willsuckformoney - 31.07.2010
lol oh gg xD