SA-MP Forums Archive
[Help] Error With Pawno - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] Error With Pawno (/showthread.php?tid=73580)



[Help] Error With Pawno - [LK]Ricxk - 16.04.2009

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?


Re: [Help] Error With Pawno - Rks25 - 16.04.2009

Remove the , after 45.


Re: [Help] Error With Pawno - [LK]Ricxk - 16.04.2009

Really that simple?


Re: [Help] Error With Pawno - [LK]Ricxk - 17.04.2009

Sorry for double post but it didnt work


Re: [Help] Error With Pawno - OmeRinG - 17.04.2009

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...


Re: [Help] Error With Pawno - BMUK - 17.04.2009

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


Re: [Help] Error With Pawno - Klutty - 17.04.2009

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);



Re: [Help] Error With Pawno - ICECOLDKILLAK8 - 17.04.2009

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