Jump to content
  • 0

Question

Posted

Salutare sunt decis sa incep sa imi fac propiul gamemode dar erorile acestea ma impiedica

 

C:\Users\sKoT\Desktop\Aplex 0.1\gamemodes\aplex.pwn(65) : error 017: undefined symbol "Checkpoint"
C:\Users\sKoT\Desktop\Aplex 0.1\gamemodes\aplex.pwn(65) : warning 215: expression has no effect
C:\Users\sKoT\Desktop\Aplex 0.1\gamemodes\aplex.pwn(65) : error 001: expected token: ";", but found "]"
C:\Users\sKoT\Desktop\Aplex 0.1\gamemodes\aplex.pwn(65) : error 029: invalid expression, assumed zero
C:\Users\sKoT\Desktop\Aplex 0.1\gamemodes\aplex.pwn(65) : fatal error 107: too many error messages on one line

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


4 Errors.


Video sa vedeti mai exact: https://youtu.be/bnsGciF8LN8

8 answers to this question

Recommended Posts

  • 0
Posted (edited)

Daca te incurca problemele alea, nu mai incepe propriul gamemode

nu se lasa spatiu intre: new Ceva [max_players]; ci Ceva[MAX_PLAYERS]

Edited by Umbra
  • 0
Posted
La 07.07.2018 la 15:17, DaNl a spus:

boss, lasa randurile 63-66 aici.

  public OnPlayerConnect(playerid)
{
    Checkpoint[playerid] = 0;
    PlayerJob[playerid] = 0;
    Checkpoint[playerid] = 0;
    JobVehicle[playerid] = 0;
    return 1;
}

  • 0
Posted
1 hour ago, Umbra said:

Daca te incurca problemele alea, nu mai incepe propriul gamemode

nu se lasa spatiu intre: new Ceva [max_players]; ci Ceva[MAX_PLAYERS]

Testeaza ce ai spus pe GRAND LARCENY sau pe ce vrei sa vezi ca nu are treaba, problema lui este ca nu a definit variabila

 

23 minutes ago, xJhonny said:

  public OnPlayerConnect(playerid)
{
    Checkpoint[playerid] = 0;
    PlayerJob[playerid] = 0;
    Checkpoint[playerid] = 0;
    JobVehicle[playerid] = 0;
    return 1;
}

Aici ai de doua ori  Checkpoint[playerid] = 0;   deci sterge unul din ele si la inceputul gamemodeului tau adauga new Checkpoint[MAX_PLAYERS];

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
  • 0
Posted
Acum 22 ore, Mister a spus:

Testeaza ce ai spus pe GRAND LARCENY sau pe ce vrei sa vezi ca nu are treaba, problema lui este ca nu a definit variabila

 

Aici ai de doua ori  Checkpoint[playerid] = 0;   deci sterge unul din ele si la inceputul gamemodeului tau adauga new Checkpoint[MAX_PLAYERS];

Sunt adaugate.

new PlayerJob[MAX_PLAYERS];
new Checkpoint[MAX_PLAYERS];
new JobVehicle[MAX_PLAYERS];
new JobWorking[MAX_PLAYERS];

  • 0
Posted
Just now, xJhonny said:

Sunt adaugate.

new PlayerJob[MAX_PLAYERS];
new Checkpoint[MAX_PLAYERS];
new JobVehicle[MAX_PLAYERS];
new JobWorking[MAX_PLAYERS];

atunci verifica sa fie cat mai sus in gamemode, pentru ca daca tu ai mai intai onplayerconnect si dupa el ai new checkpoint iti va da eroare

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
  • 0
Posted
Acum 22 ore, Mister a spus:

atunci verifica sa fie cat mai sus in gamemode, pentru ca daca tu ai mai intai onplayerconnect si dupa el ai new checkpoint iti va da eroare

image.thumb.png.0a90cfae1a4372eeaa2d747d59fc107a.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.