Jump to content
  • 0

Help!


Sniper88

Question

9 answers to this question

Recommended Posts

  • 0
Acum 18 minute, Sniper88 a spus:

array must be indexed ( variable "pCar") 

De  la ce ar putea fii aceasta eroare si cum s-o rezolv?

Am adaugat sistem de roll si primesc asta!!Vreau sa precizez ca am setat si premii cu masini : cars..

arata cum e definita pCar.Ori trebuie PlayerInfo[playerid][pCar] ori pCar[playerid]

  • Upvote 1
Link to comment
Share on other sites

  • 0

arata tot codul, o poza eventual daca nu pe pastebin. postezi cateva linii inainte de linia eroare si cateva dupa sa stim despre ce e vorba

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0
Acum 2 ore, Sniper88 a spus:

Pai cum rezolv eroarea pana la urma?Trebuie adaugata variabila pCar?Ca nu o am...am doar ceva gen : pCar [MAX_PLAYERS] atat..e

bun, pe randul cu eroarea in loc de pCar pui pCar[playerid] sau pCar[ i](fara acel space din fata de la "i").Cel mai indicat arata codul ca sa ne dam sena exact(dupa cum a spus si mister)

Edited by valivaly96
Link to comment
Share on other sites

  • 0

am zis sa postezi cateva linii de cod nu tot gmul, linia eroare nu ai specificato deci nu avem de unde sa stim unde e problema.

Cauta in gm enum pinfo ar trebui sa fie exact asa si acolo sa fie variabilele playerilor, daca zici ca nu este pCar in acea enumarite atunci adauga tu,   

pCar[10],

 

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
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.