Two questions.
#1

Hello,

I have 2 questions, first one is about some errors that my gamemode is having and the second is about savings.

1) DELETED.

2) Using this tutorial's register system, how can I make it save weapons too?

Thanks in advance!

EDIT: Sorry I forgot to post the errors, lol. Now they're posted.
Reply
#2

Would you mind if you show us the errors and the code from the question 1?
Reply
#3

For the first one, please show me the code, (Try to compile your gamemode and then copy and paste what it says)
Reply
#4

Do you have
pawn Код:
new Member[MAX_PLAYERS];
// At The top
Reply
#5

There's no use in me trying to help, if Kostas is online I have no chance of helping you first xD
Reply
#6

Quote:
Originally Posted by Kostas'
Посмотреть сообщение
Do you have
pawn Код:
new Member[MAX_PLAYERS];
// At The top
I put it but look what I've got now

pawn Код:
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(50) : error 021: symbol already defined: "Member"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(147) : error 033: array must be indexed (variable "Member")
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(184) : error 033: array must be indexed (variable "Member")
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(185) : error 033: array must be indexed (variable "Member")
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(186) : error 033: array must be indexed (variable "Member")
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(196) : error 017: undefined symbol "ID"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(201) : error 021: symbol already defined: "HexToInt"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(236) : error 017: undefined symbol "cmd"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(239) : error 017: undefined symbol "idx"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(240) : error 017: undefined symbol "idx"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(251) : error 017: undefined symbol "idx"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(253) : error 017: undefined symbol "idx"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(253) : warning 215: expression has no effect
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(255) : error 017: undefined symbol "idx"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(257) : error 017: undefined symbol "idx"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(259) : error 017: undefined symbol "idx"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(260) : error 017: undefined symbol "idx"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(260) : warning 215: expression has no effect
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(262) : error 017: undefined symbol "idx"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(272) : error 017: undefined symbol "cmd"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(276) : error 017: undefined symbol "idx"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(277) : error 017: undefined symbol "idx"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(279) : error 017: undefined symbol "IsNumeric"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(298) : error 017: undefined symbol "OrgVehInfo"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(298) : warning 215: expression has no effect
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(298) : error 001: expected token: ";", but found "]"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(298) : error 029: invalid expression, assumed zero
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(298) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


25 Errors.
Quote:
Originally Posted by Threshold
Посмотреть сообщение
There's no use in me trying to help, if Kostas is online I have no chance of helping you first xD
LOL, It's alright xD, Thank you anyway Threshold ^^
Reply
#7

Oh Jesus!
Try and see if you have missed any brackets - { or }
Make sure you have defined everything by either using
#define idx Example
or
new idx;
Reply
#8

I asked about having the variable, not to add it.
Check about the variable of Member

PS: This forum requires that you wait 120 seconds between posts. Please try again in 19 seconds.
Reply
#9

Quote:
Originally Posted by Threshold
Посмотреть сообщение
Oh Jesus!
Try and see if you have missed any brackets - { or }
Make sure you have defined everything by either using
#define idx Example
or
new idx;
After adding the new idx;
pawn Код:
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(51) : error 021: symbol already defined: "Member"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(148) : error 033: array must be indexed (variable "Member")
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(185) : error 033: array must be indexed (variable "Member")
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(186) : error 033: array must be indexed (variable "Member")
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(187) : error 033: array must be indexed (variable "Member")
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(197) : error 017: undefined symbol "ID"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(202) : error 021: symbol already defined: "HexToInt"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(237) : error 017: undefined symbol "cmd"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(273) : error 017: undefined symbol "cmd"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(280) : error 017: undefined symbol "IsNumeric"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(299) : error 017: undefined symbol "OrgVehInfo"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(299) : warning 215: expression has no effect
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(299) : error 001: expected token: ";", but found "]"
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(299) : error 029: invalid expression, assumed zero
C:\Users\PC\Desktop\Unused Items\server\gamemodes\gm.pwn(299) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


14 Errors.
Quote:
Originally Posted by Kostas'
Посмотреть сообщение
I asked about having the variable, not to add it.
Check about the variable of Member

PS: This forum requires that you wait 120 seconds between posts. Please try again in 19 seconds.
Um, I didn't have it .
Reply
#10

Then you can't use it. You should make it as global variable. If else, it will give you errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)