Gde gresim?

24. Jun 2010.
2,897
pregleda
15
postova
mariomako
5
Underboss
24. Jun 2010.
Zasto mi dolazi do ove errore?
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : error 028: invalid subscript (not an array or too many subscripts): "IgracInfo"
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : warning 215: expression has no effect
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : error 001: expected token: ";", but found "]"
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : error 029: invalid expression, assumed zero
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : fatal error 107: too many error messages on one line


a evo celi gamemod

#include

enum IgracInfo
{
Jezik
}

main()
{
print(" PittBull Stunt/DM");
print(" _________________");
print("     By: mariomako");
print(" ");
}

public OnGameModeInit()
{
SetGameModeText("Stunt/DM");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}

public OnPlayerConnect(playerid)
{
   ShowPlayerDialog(playerid,5510,DIALOG_STYLE_LIST,"Odaberite svoj jezik [PICK YOUR LANGUAGE]","English\nCroatian","OK","/");
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/rules", true) == 0)
{
if (IgracInfo == 1)
{
SendClientMessage(playerid, 0xAA3333AA, "===========================[ RULES ]======================================");
SendClientMessage(playerid, 0xAA3333AA, "OVDJE IDE TEXT AKO JE ODABRAO ENG.");
SendClientMessage(playerid, 0xAA3333AA, "Don cheat");
}
if (IgracInfo == 2)
{
SendClientMessage(playerid, 0xAA3333AA, "===========================[ PRAVILA ]======================================");
SendClientMessage(playerid, 0xAA3333AA, "OVDJE IDE TEXT AKO JE ODABRAO HRV.");
SendClientMessage(playerid, 0xAA3333AA, "Nemoj koristiti cheatove ili modove");
}
return 1;
}
return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}

public OnRconCommand(cmd[])
{
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnObjectMoved(objectid)
{
return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}

public OnPlayerUpdate(playerid)
{
return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
   if(dialogid == 5510 && response)
   {

       switch(listitem)
       {
           case 0:
           {
           IgracInfo =2; // Time se oznacuje engleski jezik
           SendClientMessage(playerid,0x00FFD2FF,"Your language is english");
           }
           case 1:
           {
           IgracInfo =1; // Time se oznacuje hrvatski jezik
           SendClientMessage(playerid,0x00FFD2FF,"Tvoj jezik je hrvatski");
           }
       }
   }
   return 0;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}

Molim vas hitno mi je!
mariomako
5
Underboss
24. Jun 2010.
Smartex-Balkan|D~3~M~!~R wrote on June 24, 2010, 9:33 pm:
Mislim da trebas Dodat new IgracInfo i sve je rijeseno ??


samo vise errore
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(6) : error 021: symbol already defined: "IgracInfo"
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(76) : error 028: invalid subscript (not an array or too many subscripts): "IgracInfo"
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(76) : warning 215: expression has no effect
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(76) : error 001: expected token: ";", but found "]"
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(76) : error 029: invalid expression, assumed zero
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(76) : fatal error 107: too many error messages on one line
aleluja
5
Godfather
24. Jun 2010.
Smartex-Balkan|D~3~M~!~R wrote on June 24, 2010, 9:33 pm:
Mislim da trebas Dodat new IgracInfo i sve je rijeseno ??

ja mislim da to nije tako
jel vidis :
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : error 001: expected token: ";", but found "]"
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : error 029: invalid expression, assumed zero
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : fatal error 107: too many error messages on one line

jel vidis sta je ovo to znaci da fali neka zagrada ili nesto a ja mu nemogunaci jer sam smotan xD i slip XD
ja mislim da t ifali zagrada .. ili ; ovo neznam xD 😄
ali jamislim da sam u pravu
mariomako
5
Underboss
24. Jun 2010.
aleluja wrote on June 24, 2010, 9:33 pm:
Mislim da trebas Dodat new IgracInfo i sve je rijeseno ??

ja mislim da to nije tako
jel vidis :
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : error 001: expected token: ";", but found "]"
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : error 029: invalid expression, assumed zero
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : fatal error 107: too many error messages on one line

jel vidis sta je ovo to znaci da fali neka zagrada ili nesto a ja mu nemogunaci jer sam smotan xD i slip XD
ja mislim da t ifali zagrada .. ili ; ovo neznam xD 😄
ali jamislim da sam u pravu

evo taj line pa neznam gde fali ali radio sam po tutorijalu u tutorijalu je tako
      if (IgracInfo == 1) 


http://balkan-samp.com/forum/index.php?topic=6127.msg51356#msg51356
Deleted User
Obrisan korisnik
24. Jun 2010.
enum IgracInfo 

    Jezik 
};
mariomako
5
Underboss
25. Jun 2010.
ExtremePower wrote on June 24, 2010, 9:59 pm:
enum IgracInfo 

    Jezik 
};


opet iste errore
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : error 028: invalid subscript (not an array or too many subscripts): "IgracInfo"
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : warning 215: expression has no effect
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : error 001: expected token: ";", but found "]"
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : error 029: invalid expression, assumed zero
E:\SAMP Server\PittBull Stunt\gamemodes\pittbull.pwn(74) : fatal error 107: too many error messages on one line


Line 74:
		if (IgracInfo == 1)


pokusao sam staviti ; na kraju ali opet iste errore ovo je gamemode pocnjen od 0 aj mislio sam da nije do to ali i na God Father mi iste errore nalazi
John
4
Enforcer
25. Jun 2010.
enum iInfo
{
    Jezik
};

new IgracInfo;

mozda bude loose indetention na ovome "jezik" pa to poravnaj posto nemogu tabat na forumu bez jednog dodatka za firefox
mariomako
5
Underboss
25. Jun 2010.
John wrote on June 25, 2010, 9:31 am:
enum iInfo
{
    Jezik
};

new IgracInfo;

mozda bude loose indetention na ovome "jezik" pa to poravnaj posto nemogu tabat na forumu bez jednog dodatka za firefox


samo vise errore
enum iInfo
{
    Jezik
};

new IgracInfo;


EDIT: Ove errore mi nalazi
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(5) : error 001: expected token: "-identifier-", but found " "
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(6) : error 010: invalid function or declaration
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : fatal error 107: too many error messages on one line
Nez
2
Wheel Man
25. Jun 2010.
jel mozes kopirati ovu skriptu na www.pastebin.com ? ali ne odavde da kopiras nego iz pawna 😉
SoaD123
5
Underboss
25. Jun 2010.
mislim da ovo krivo radis:

enum IgracInfo   
{   
pJezik,   
}; 
mariomako
5
Underboss
25. Jun 2010.
Quote from June 25, 2010, 11:27 am:
mislim da ovo krivo radis:

enum IgracInfo   
{   
pJezik,   
};   


sada nalazi ove errore
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(10) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(10) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(10) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(10) : fatal error 107: too many error messages on one line


Evo tebi pastebin.com

http://pastebin.com/h3rmdrPz
John
4
Enforcer
25. Jun 2010.
Mario Velickovski wrote on June 25, 2010, 9:31 am:
enum iInfo
{
    Jezik
};

new IgracInfo;

mozda bude loose indetention na ovome "jezik" pa to poravnaj posto nemogu tabat na forumu bez jednog dodatka za firefox


samo vise errore
enum iInfo
{
    Jezik
};

new IgracInfo;


EDIT: Ove errore mi nalazi
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(5) : error 001: expected token: "-identifier-", but found " "
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(6) : error 010: invalid function or declaration
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : fatal error 107: too many error messages on one line


Ti ocito nesto krivo radis, evo ja ubacio ovo svoje i compajlira mi normalno.

http://pastebin.com/0ZhpDc72
mariomako
5
Underboss
25. Jun 2010.
John wrote on June 25, 2010, 9:31 am:
enum iInfo
{
     Jezik
};

new IgracInfo;

mozda bude loose indetention na ovome "jezik" pa to poravnaj posto nemogu tabat na forumu bez jednog dodatka za firefox


samo vise errore
enum iInfo
{
     Jezik
};

new IgracInfo;


EDIT: Ove errore mi nalazi
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(5) : error 001: expected token: "-identifier-", but found " "
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(6) : error 010: invalid function or declaration
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mako\Desktop\Untitled.pwn(12) : fatal error 107: too many error messages on one line


Ti ocito nesto krivo radis, evo ja ubacio ovo svoje i compajlira mi normalno.

http://pastebin.com/0ZhpDc72

Oh hvala bogu da neko mi napravio evo copy sam tvoj kod i sve radi hvala mnogo i testirao sam ga radi fantasticno
Kruno1407
4
Made Man
25. Jun 2010.
Probaj napisat PlayerInfo a ne IgracInfo..
mariomako
5
Underboss
25. Jun 2010.
Kruno1407 wrote on June 25, 2010, 5:25 pm:
Probaj napisat PlayerInfo a ne IgracInfo..


jao spameru jel citas da je problem resen😕😕😕😕😕😕😕😕😕😕?

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha