spikestrip script works in 0.2 but not in 0.3 - 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: spikestrip script works in 0.2 but not in 0.3 (
/showthread.php?tid=106295)
spikestrip script works in 0.2 but not in 0.3 -
leuthrick - 02.11.2009
hey,
i have try to convert the script but it doesnt works
i have ready this topic:
http://forum.sa-mp.com/index.php?topic=129766.0 but still i dont understand it.
the script: [iurl=#]deleted[/iurl]
the error:
Код:
link\filterscripts\spikestrip.pwn(204) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
link\filterscripts\spikestrip.pwn(276) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
thanks
leuthrick
Re: spikestrip script works in 0.2 but not in 0.3 -
dugi - 02.11.2009
OnPlayerPrivmsg and OnPlayerInfoChange have been removed in 0.3 so delete them from your script.
Re: spikestrip script works in 0.2 but not in 0.3 -
Correlli - 02.11.2009
OnPlayerPrivmsg and OnPlayerInfoChange callbacks were removed in the 0.3 so you can just delete them and search for an existing /pm command.
Re: spikestrip script works in 0.2 but not in 0.3 -
leuthrick - 02.11.2009
but i think if i delete it then doesnt works the script right?
Quote:
Originally Posted by Don Correlli
search for an existing /pm command.
|
sorry i dont understand that
Re: spikestrip script works in 0.2 but not in 0.3 -
Correlli - 02.11.2009
Quote:
Originally Posted by leuthrick
sorry i dont understand that
|
Since you're going to remove OnPlayerPrivmsg callback you'll need to find yourself a /pm command (if you want to have it of course). Search for it on this forum.
Re: spikestrip script works in 0.2 but not in 0.3 -
leuthrick - 02.11.2009
i have see OnPlayerInfoChange and OnPlayerPrivmsg are empty in the script
so i have delete it.
thanks for helping