Jump to content

Recommended Posts

Posted
Acum 4 minute, Banditul a spus:

"array must be indexed(variable "pSlot")"


pSlot // nu array = nu index

pSlot[MAX_SLOTS] // array = index

 

Acum imi apare asta.

Capture.PNG

Posted (edited)

#define MAX_SLOTS 5

Nu am spus ca MAX_SLOTS il ai definit in gm, am dat un exemplu de cum ar trebui sa arate

Edited by Banditul
Posted
Acum 4 minute, Banditul a spus:

#define MAX_SLOTS 5

Nu am spus ca MAX_SLOTS il ai definit in gm, am dat un exemplu de cum ar trebui sa arate

Din nou eroare: 

Capture.PNG

Posted
Acum 2 minute, Banditul a spus:

pSlot din interiorul enum PlayerInfo nu sa creezi o noua variabila pSlot

Am pus in enum si imi apare asta

Capture.PNG.a870475d632a38db81b5184fbbbcae84.PNG

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.