Problems - 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)
+--- Thread: Problems (
/showthread.php?tid=328966)
Problems -
HeadoN - 26.03.2012
D:\VirtualShooter RPG\gamemodes\VS.pwn(44909) : warning 219: local variable "car1" shadows a variable at a preceding level
D:\VirtualShooter RPG\gamemodes\VS.pwn(44954) : warning 219: local variable "car1" shadows a variable at a preceding level
D:\VirtualShooter RPG\gamemodes\VS.pwn(64213) : error 025: function heading differs from prototype
D:\VirtualShooter RPG\gamemodes\VS.pwn(6460

: warning 235: public function lacks forward declaration (symbol "IsAtPaySpray")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
44909 - new car1 = PlayerInfo[playerid][pPcarkey];
44954 - new car1 = PlayerInfo[playerid][pPcarkey];
64213 - public IsAnOwnableCar(carid)
64608 - public IsAtPaySpray(playerid)
Re: Problems -
The DeLuca - 26.03.2012
You have car1 defined more than once. You only need to define the variable one time.
Re: Problems -
HeadoN - 26.03.2012
D:\VirtualShooter RPG\gamemodes\VS.pwn(64211) : error 025: function heading differs from prototype
D:\VirtualShooter RPG\gamemodes\VS.pwn(64606) : warning 235: public function lacks forward declaration (symbol "IsAtPaySpray")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
64211 - public IsAnOwnableCar(carid)
64606 - public IsAtPaySpray(playerid)
Re: Problems -
HeadoN - 26.03.2012
SOLVED.