Jump to content
Sign in to follow this  
jumainkain

Erroare la compilare.

Recommended Posts

@SkillZ_IT. aici am nevoie de tine.

 

Cand incerc sa compilez gm-ul tau acela burned big edit #2 , dupa ce eu am incercat sa adaug days la masini, am reusit tot dar imi da err asta

gmm.pwn(31863) : error 032: array index out of bounds (variable "PlayerInfo")
gmm.pwn(31868) : error 032: array index out of bounds (variable "PlayerInfo")

 

Liniile : 

                 if(PlayerInfo[pCarKey][0] != 0) {
                     CarInfo[PlayerInfo[pCarKey][0]][cDays]++;
                 }
                 if(PlayerInfo[pCarKey][1] != 0) {
                    CarInfo[PlayerInfo[pCarKey][1]][cDays]++;
                 }

 

Sau oricine cunoaste problema poate da un reply, multumesc.

Share this post


Link to post
Share on other sites
Acum 35 minute, jumainkain a spus:

@SkillZ_IT. aici am nevoie de tine.

 

Cand incerc sa compilez gm-ul tau acela burned big edit #2 , dupa ce eu am incercat sa adaug days la masini, am reusit tot dar imi da err asta

gmm.pwn(31863) : error 032: array index out of bounds (variable "PlayerInfo")
gmm.pwn(31868) : error 032: array index out of bounds (variable "PlayerInfo")

 

Liniile : 

                 if(PlayerInfo[pCarKey][0] != 0) {
                     CarInfo[PlayerInfo[pCarKey][0]][cDays]++;
                 }
                 if(PlayerInfo[pCarKey][1] != 0) {
                    CarInfo[PlayerInfo[pCarKey][1]][cDays]++;
                 }

 

Sau oricine cunoaste problema poate da un reply, multumesc.

Înainte de [pCarakey] pune [playerid]

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.