SA-MP Forums Archive
Need help! - 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: Need help! (/showthread.php?tid=351963)



Need help! - [COD5]Zero - 17.06.2012

Well i just started my gamemode but i get this Error:

C:\Users\Home\Desktop\SAMP Server\gamemodes\lossantosbfgm.pwn(1 : error 021: symbol already defined: "AddPlayerClass"
C:\Users\Home\Desktop\SAMP Server\gamemodes\lossantosbfgm.pwn(20) : error 021: symbol already defined: "AddPlayerClass"
C:\Users\Home\Desktop\SAMP Server\gamemodes\lossantosbfgm.pwn(22) : error 021: symbol already defined: "AddPlayerClass"
C:\Users\Home\Desktop\SAMP Server\gamemodes\lossantosbfgm.pwn(25) : error 021: symbol already defined: "AddStaticVehicle"
C:\Users\Home\Desktop\SAMP Server\gamemodes\lossantosbfgm.pwn(35) : error 021: symbol already defined: "ShowPlayerDialog"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

i know how to fix this but how can i use same symbols in one script


Re: Need help! - ViniBorn - 17.06.2012

pawn Код:
#include <a_samp>



Re: Need help! - [COD5]Zero - 17.06.2012

i managed to fix it but i am newbie to scripting but how to fix this error

C:\Users\Home\Desktop\SAMP Server\gamemodes\lossantosbfgm.pwn(1 : error 010: invalid function or declaration
C:\Users\Home\Desktop\SAMP Server\gamemodes\lossantosbfgm.pwn(1 : error 010: invalid function or declaration
C:\Users\Home\Desktop\SAMP Server\gamemodes\lossantosbfgm.pwn(18 -- 20) : error 010: invalid function or declaration
C:\Users\Home\Desktop\SAMP Server\gamemodes\lossantosbfgm.pwn(18 -- 20) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


Re: Need help! - Faisal_khan - 18.06.2012

Paste lines 18-20