[Help] Error With Pawno
#1

Hello all, Second post of the day. Lol. Right i have 2 problems with a script.

Quote:

// Disables Flamethrower, Rocket Launcher and Heatseeking RPG.
// Miniguns are now synched if the player holds them.
SetDisabledWeapons( 9, 10, 11, 12, 13, 16, 18, 20, 21, 26, 27, 28, 29 30, 32, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, );

And im getting the Errors:

Quote:

C:\Documents and Settings\richard.howard\Desktop\samp02Xserver.win3 2\penls.pwn(19311) : error 049: invalid line continuation
C:\Documents and Settings\richard.howard\Desktop\samp02Xserver.win3 2\penls.pwn(19313) : error 021: symbol already defined: "SetDisabledWeapons"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Lol. Just getting use to coding so im stealing a script for the time been

Do i add this in the bottem of my script or make it into a filterscript?
Reply
#2

Remove the , after 45.
Reply
#3

Really that simple?
Reply
#4

Sorry for double post but it didnt work
Reply
#5

do you still have these errors?
show us the code now....


BTW:
Pawno - The application you use to edit PAWN
PAWN - The programming language
pwn/PWN - The file format

it means you have a problem with PAWN, not with Pawno...
Reply
#6

Quote:
Originally Posted by OmeRinG
BTW:
Pawno - The application you use to edit PAWN
PAWN - The programming language
pwn/PWN - The file format

it means you have a problem with PAWN, not with Pawno...
spam?


Quote:
Originally Posted by Rk_
Remove the , after 45.
and put a , inbetween 29 and 30

sorted
Reply
#7

pawn Код:
SetDisabledWeapons(9, 10, 11, 12, 13, 16, 18, 20, 21, 26, 27, 28, 29, 30, 32, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45);
Reply
#8

Quote:
Originally Posted by OmeRinG
do you still have these errors?
show us the code now....


BTW:
Pawno - The application you use to edit PAWN
PAWN - The programming language
pwn/PWN - The file format

it means you have a problem with PAWN, not with Pawno...
Actually they have a problem with thier SCRIPT, get it right
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)