SA-MP Forums Archive
command help! - 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: command help! (/showthread.php?tid=93210)



command help! - Sfinx_17 - 23.08.2009

i was saw wiki scripting functions...and i saw that command "SetPlayerFightingStyle"

i putted exactly the same code as was in wiki..then why i get this error?


Quote:

C:\PROGRA~1\ROCKST~1\SERVER~1\GAMEMO~1\new.pwn(292 ) : error 017: undefined symbol "SetPlayerFightingStyle"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

i have to change the name of that SetPlayerFightingStyle in my script or what /?


Re: command help! - Khelif - 23.08.2009

Код:
Warning: This is a new function working since SA-MP 0.3. It won't work in previous versions.



Re: command help! - krisko - 23.08.2009

do you have any includes where are you typing this please upload the whole code on pastebin.com


Re: command help! - MB@ - 23.08.2009

yep it's for 0.3 version!!


Re: command help! - Sfinx_17 - 23.08.2009

that code i typed on "OnPlayerCommandText why ?? is a problem ?