Jump to content
  • 0

Sumo error


Exodus xD

Question

Am si eu o problema cu un sistem de sumo.

Primesc aceaste erori:

\gamemodes\sumo.pwn(107) : error 028: invalid subscript (not an array or too many subscripts): "gCurrentMinigame"
\gamemodes\sumo.pwn(107) : warning 215: expression has no effect
\gamemodes\sumo.pwn(107) : error 001: expected token: ";", but found "]"
\gamemodes\sumo.pwn(107) : error 029: invalid expression, assumed zero
\gamemodes\sumo.pwn(107) : fatal error 107: too many error messages on one line

 

Link to comment
Share on other sites

17 answers to this question

Recommended Posts

  • 0
Acum 22 ore, MiritaXD a spus:

Arată codu...

smo_Join(playerid, msg = true)
{
    gCurrentMinigame[playerid] = [MINIGAME_CARSUMO];                                              <<----LINIA 107
    t:bServerGlobalSettings[smo_InProgress];
    smo_FormatVehicleList(playerid);
    SetPlayerVirtualWorld(playerid, MINIGAME_WORLD);

    if(Iter_Contains(smo_SpawnedIndex, playerid))Iter_Remove(smo_SpawnedIndex, playerid);

    PlayerTextDrawSetString(playerid, smo_TdSpawn, "5");
    PlayerTextDrawSetSelectable(playerid, smo_TdSpawn, false);
    smo_SpawnTimer[playerid] = defer smo_UpdateSpawnButton(playerid);
    smo_SpawnCount[playerid] = 4;
    smo_Spectate(playerid);

Link to comment
Share on other sites

  • 0
Acum 19 ore, Dennis12. a spus:

Ce este MINIGAME_CARSUMO? 

 

Incearca:

 

	gCurrentMinigame[playerid] = MINIGAME_CARSUMO;
	

 

am incercat,aceleasi erori primesc
C:\Users\wNekiRo\Desktop\Random\PLD\gamemodes\sumo.pwn(107) : error 028: invalid subscript (not an array or too many subscripts): "gCurrentMinigame"
C:\Users\wNekiRo\Desktop\Random\PLD\gamemodes\sumo.pwn(107) : warning 215: expression has no effect
C:\Users\wNekiRo\Desktop\Random\PLD\gamemodes\sumo.pwn(107) : error 001: expected token: ";", but found "]"
C:\Users\wNekiRo\Desktop\Random\PLD\gamemodes\sumo.pwn(107) : error 029: invalid expression, assumed zero
C:\Users\wNekiRo\Desktop\Random\PLD\gamemodes\sumo.pwn(107) : fatal error 107: too many error messages on one line

Link to comment
Share on other sites

  • 0
56 minutes ago, Exodus_xD said:

adica?

Cumva asta?     gCurrentMinigame[playerid] = [MINIGAME_CARSUMO];         
Scuze sunt mai greu de cap.

Denis12 tia zis gCurrentMinigame[playerid] = MINIGAME_CARSUMO;    asa nu asa gCurrentMinigame[playerid] = [MINIGAME_CARSUMO];   

 Încearcă să fii un om de valoare și nu neapărat un om de succes.

 

Link to comment
Share on other sites

  • 0
La 04.10.2018 la 16:07, KB.HERO a spus:

Denis12 tia zis gCurrentMinigame[playerid] = MINIGAME_CARSUMO;    asa nu asa gCurrentMinigame[playerid] = [MINIGAME_CARSUMO];   

ahm...a fost pusa dar dupa ce am scris si trimis acel raspuns. (Imi pare rau)

Link to comment
Share on other sites

  • 0
La 04.10.2018 la 16:07, KB.HERO a spus:

Denis12 tia zis gCurrentMinigame[playerid] = MINIGAME_CARSUMO;    asa nu asa gCurrentMinigame[playerid] = [MINIGAME_CARSUMO];   

C:\Users\wNekiRo\Desktop\PLD\gamemodes\sumo.pwn(107) : error 028: invalid subscript (not an array or too many subscripts): "gCurrentMinigame"
C:\Users\wNekiRo\Desktop\PLD\gamemodes\sumo.pwn(107) : warning 215: expression has no effect
C:\Users\wNekiRo\Desktop\PLD\gamemodes\sumo.pwn(107) : error 001: expected token: ";", but found "]"
C:\Users\wNekiRo\Desktop\PLD\gamemodes\sumo.pwn(107) : error 029: invalid expression, assumed zero
C:\Users\wNekiRo\Desktop\PLD\gamemodes\sumo.pwn(107) : fatal error 107: too many error messages on one line

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.