Error with swat command please help
#1

Код:
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
Reply
#2

For: warning 203: symbol is never used: "IsAtLockers" - Delete a line "forward IsAtLockers".

Then show line: 1186.
Reply
#3

Yeah, show us the lines with the errors please.
Reply
#4

ok here are the lines:

Line 1186:
Код:
public IsAtLockers()
Line 16458:
Код:
public Float:GetDistanceBetweenPlayers(p1,p2)
Thanks for trying to help me guys
Reply
#5

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

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

Ask in Carlito's Roleplay, but this one time:


If not using it, add this at end

Код:
#pragma unused IsAtLockers
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)