Jump to content
  • 0

Problema comanda /vcreate


Funnk@

Question

Am urmatoarele erori

C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24414) : error 017: undefined symbol "MAX_PERSONAL_VEHICLES"
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24416) : error 033: array must be indexed (variable "pCar")
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24416) : error 029: invalid expression, assumed zero
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24416) : warning 215: expression has no effect
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24416) : error 001: expected token: ";", but found "]"
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24416) : fatal error 107: too many error messages on one line

Asta-i comanda https://pastebin.com/va3USSQb       si linia 24416 este asta :    if(PlayerInfo[id][pCar][v] != -1) total++;

Ma poate ajuta cineva?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
6 hours ago, andrei9971 said:

Fa-ma sa inteleg. Tu chiar folosesti un array 3d pentru asta? De asemenea, MAX_PERSONAL_VEHICLES e declarat pe undeva?

Da MAX_PERSONAL_VEHICLES l-am definit, dar imi da aceleasi erori 

C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24417) : error 033: array must be indexed (variable "pCar")
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24417) : error 029: invalid expression, assumed zero
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24417) : warning 215: expression has no effect
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24417) : error 001: expected token: ";", but found "]"
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24417) : fatal error 107: too many error messages on one line

Comanda e luata din alt gm..

Link to comment
Share on other sites

  • 0
Acum 9 minute, [email protected] a spus:

Da MAX_PERSONAL_VEHICLES l-am definit, dar imi da aceleasi erori 

C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24417) : error 033: array must be indexed (variable "pCar")
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24417) : error 029: invalid expression, assumed zero
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24417) : warning 215: expression has no effect
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24417) : error 001: expected token: ";", but found "]"
C:\Users\Funnk\Desktop\gamemode by skillz\gamemode by skillz\gamemodes\gmm.pwn(24417) : fatal error 107: too many error messages on one line

Comanda e luata din alt gm..

De acea copy-paste nu e o idee buna. mereu trebuie sa gandesti inainte de a da copy-paste(analizezi codul si vezi cum e scris si care e semnificatia)

Variabila pe care cel mai probabil ai pus-o in enum del a PlayerInfo trebuie sa fie gen 

enum pData
{
	pCar[MAX_PERSONAL_VEHICLES]
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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