Error with swat command please 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: Error with swat command please help (
/showthread.php?tid=84313)
Error with swat command please help -
Tommy_Mandaz - 30.06.2009
Код:
C:\DOCUME~1\Owner\MYDOCU~1\MUSTAF~1\GTASAN~1\SAMP02~1.WIN\GAMEMO~1\crp.pwn(1186) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Owner\MYDOCU~1\MUSTAF~1\GTASAN~1\SAMP02~1.WIN\GAMEMO~1\crp.pwn(16458) : warning 203: symbol is never used: "IsAtLockers"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
How do i fix it
?
please help anything that can fix i will appreciate it
thanks,
tommy
Re: Error with swat command please help -
Grim_ - 30.06.2009
For: warning 203: symbol is never used: "IsAtLockers" - Delete a line "forward IsAtLockers".
Then show line: 1186.
Re: Error with swat command please help -
Adamrcook - 30.06.2009
Yeah, show us the lines with the errors please.
Re: Error with swat command please help -
Tommy_Mandaz - 30.06.2009
ok here are the lines:
Line 1186:
Код:
public IsAtLockers()
Line 16458:
Код:
public Float:GetDistanceBetweenPlayers(p1,p2)
Thanks for trying to help me guys
Re: Error with swat command please help -
Adamrcook - 30.06.2009
You never use IsAtLockers in your script. Therefore it's useless, unless you add it to the command and add what the rule for it is.
Re: Error with swat command please help -
Tommy_Mandaz - 30.06.2009
Quote:
Originally Posted by Adamrcook
You never use IsAtLockers in your script. Therefore it's useless, unless you add it to the command and add what the rule for it is.
|
how would i do that though?
Re: Error with swat command please help -
kaisersouse - 30.06.2009
Ask in Carlito's Roleplay, but this one time:
If not using it, add this at end
Код:
#pragma unused IsAtLockers