spikestrip script works in 0.2 but not in 0.3
#1

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
Reply
#2

OnPlayerPrivmsg and OnPlayerInfoChange have been removed in 0.3 so delete them from your script.
Reply
#3

OnPlayerPrivmsg and OnPlayerInfoChange callbacks were removed in the 0.3 so you can just delete them and search for an existing /pm command.
Reply
#4

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
Reply
#5

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.
Reply
#6

i have see OnPlayerInfoChange and OnPlayerPrivmsg are empty in the script


so i have delete it.

thanks for helping
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)