SA-MP Forums Archive
Warnings + Errors help please - 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: Warnings + Errors help please (/showthread.php?tid=551867)



Warnings + Errors help please - Terror9921 - 21.12.2014

Hey guys..

i got a small problem i'm trying to compile a gamemode PR-RP


Quote:

C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(11234) : warning 217: loose indentation
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(11242) : warning 217: loose indentation
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(25549) : error 017: undefined symbol "Get2DPosZone"
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(25556) : error 017: undefined symbol "Get2DPosZone"
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(34771) : warning 217: loose indentation
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(43593) : warning 217: loose indentation
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(44461) : warning 217: loose indentation
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(46375) : warning 217: loose indentation
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(46376) : warning 217: loose indentation
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(58785) : error 017: undefined symbol "Get3DZone"
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(58785) : warning 202: number of arguments does not match definition
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(58819) : error 017: undefined symbol "Get3DZone"
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(58819) : warning 202: number of arguments does not match definition
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(59050) : warning 217: loose indentation
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(59086) : warning 217: loose indentation
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(61816) : error 017: undefined symbol "Get3DZone"
C:\Users\Angelo\Desktop\angepro samp\pawno\PRRP.pwn(61816) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


i tried to download a_zones.inc but it doesnt work


Re: Warnings + Errors help please - 1fret - 21.12.2014

1. Why won't you guys show the codes, in some cases we hav to see the code.

For the loose indentation, just fix the lines so they are neat. Example:
pawn Код:
//say you have
SendClientMessage(playerid,color,message );
// jus use the tab key to line that line wih this one    
           SendClientMessage(playerid,color,message );



Re: Warnings + Errors help please - Nimrod - 21.12.2014

Where have you placed the .inc file? It should be in pawno > include.


Re : Warnings + Errors help please - AYOUYOU - 21.12.2014

https://sampforum.blast.hk/showthread.php?tid=27598
And Add it in pawno >include
And add this in your GM
pawn Код:
#include <a_zones>



Re: Warnings + Errors help please - Glossy42O - 21.12.2014

Like ayouuoi said but make sure it's under #include <a_samp> and 1fret how can he show the code if it's include ppfft stop guessing