View Single Post
Old 21/02/2020, 02:43 PM   #3
Kwarde
High-roller
 
Kwarde's Avatar
 
Join Date: Nov 2009
Location: The Netherlands
Posts: 2,713
Reputation: 1671
Default Re: SA-MP Scripting help me pls...

You're missing semicolons here and there (, and
new SQL - -1, qQuery[256]
: it should be 'new SQL = -1'

I suggest you to start learning scripting basics first before trying to create things.
Check my signature (click on the link you shouldn't click on) for a link to the PAWN guide. Check out other basics for PAWN here: https://wiki.sa-mp.com/wiki/Scripting_Basics
For super-basics, try searching on the internet.

Alternatively, if you don't want to use semicoloms you can use option -;- to disable the need of semicoloms. Example:
pawn Code:
#pragma option -;-

main()
{
    print("This is a valid code")
    return 1
}
However I don't recommend it if you're a beginner. If you're a pro, even then I don't recommend it


EDIT:
I'm using ZeeX's compiler. Not sure if the default compiler has this option.
__________________
When the opportunity presents itself to flip-a da table, uh, you flip-a da table.

Discord: Kwarde#1966
Kwarde is offline   Reply With Quote