weird eroor
#1

i havent tried scripting in over two years so i figured id start from strach so i enter his
pawn Code:
#include <a_samp>

main()
[
    print("o") ;
    print("m") ;
    print("g") ;
]
and i get this
Code:
C:\Users\Acer\Desktop\Project\gamemodes\Nincompoop.pwn(4) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

You're using the wrong brackets. For code blocks (such as contained in functions, loops, if-statements et cetera) you use {}.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)