Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted (edited)

Salut, am o problema la urmatorul fragment din gamemode, am facut tot ce spunea in tutorial, dar mi-a dat o eroare de-a pula.

image.thumb.png.25f22f66b6fed538ba7eda9cfef9231a.png

 

Profz: Am incercat sa fac un job (Testile Driver) si la checkpoint uri mi-a dat cu eroarea in nas, nu pricep ce are. Sunt exact ca aluia din tutorial.

 

Aici sunt erorile mele: 

(10603) : error 001: expected token: ";", but found "-identifier-"
(10608) : error 012: invalid function call, not a valid address
(10608) : warning 215: expression has no effect
(10608) : error 001: expected token: ";", but found ")"
(10608) : error 029: invalid expression, assumed zero
(10608) : fatal error 107: too many error messages on one line


5 Errors.

 

Edited by alexandru2304
explicatia

7 answers to this question

Recommended Posts

  • 0
Posted

In primul rand nu se incepe cu "ELSE IF" ci cu "IF".

In al doilea rand ai uitat sa pui " ; " cum a zis si Maddo.

  • 0
Posted

E mai sus problema 

Acum 57 minute, alexandru2304 a spus:

Salut, am o problema cand compilez urmatorul  fragment din tutorialul urmator.

Aici sunt erorile mele: 

C:\Users\Pavilion\Desktop\Server Test\gamemodes\rpgro.pwn(10603) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Pavilion\Desktop\Server Test\gamemodes\rpgro.pwn(10608) : error 012: invalid function call, not a valid address
C:\Users\Pavilion\Desktop\Server Test\gamemodes\rpgro.pwn(10608) : warning 215: expression has no effect
C:\Users\Pavilion\Desktop\Server Test\gamemodes\rpgro.pwn(10608) : error 001: expected token: ";", but found ")"
C:\Users\Pavilion\Desktop\Server Test\gamemodes\rpgro.pwn(10608) : error 029: invalid expression, assumed zero
C:\Users\Pavilion\Desktop\Server Test\gamemodes\rpgro.pwn(10608) : fatal error 107: too many error messages on one line

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


5 Errors.

 

Problema persista de la : if(TestileCP[playerid] == 1)
    {
        DisablePlayerCheckpoint(playerid);
          TestileCP[playerid] = 2;
        SetPlayerCheckpoint(playerid, -1370.5028, -969.6022, 196.1617, 3.0);
    }

(Acolo e 10608) 

- Aici e de unde apartine "10608"

https://pastebin.com/F9U0rnd3

 

 

  • 0
Posted (edited)

La linia 10609 au uitat sa pui ";"

tu ai

TestileCP(playerid) = x;

pune

TestileCP[playerid] = x;
Edited by MiritaXD
Guest
This topic is now closed to further replies.
×
×
  • 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.