adelinutu1
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by adelinutu1
-
-
Nu am antideamx in gamemode!
-
linia cu define adminerror din defnew.inc
#define AdminError "You are not authorized to use that command."
astea sunt mesajele din defnew.inc, pe care daca le modific imi da erori la compilarea gmului
new RandTxtInf[][] =
{
"Pentru probleme foloseste /report iar pentru intrebari /helpme.",
"Cheama-ti prietenii pe server si spune-le ID-ul tau de referral pentru a primi un bonus.",
"Va asteptam cu un cont pe forum-ul nostru, (forum.thug.ro)",
"Ai propuneri pentru server? Posteaza-le pe forumul nostru, noi vom tine cont de ele. (www.forum.thug.ro)",
"Nu utilizati /report pentru a chema un admin. Spuneti direct ce problema aveti.",
"Doresti sa donezi pentru acest server? Tasteaza /shop pentru a vedea produsele disponibile.",
"Ai gasit buguri pe server? Posteaza-le pe forumul nostru, vor fi reparate in cel mai scurt timp. (www.forum.thug.ro)"
},Iar aici un exemplu de comanda din gm, unde se foloseste adminerror : https://pastebin.com/wR3DmyjS
-
Salut, am si eu o problema la compilarea gamemode-ului Thug! Dacă modific reclamele din include ul defnew, si incerc sa compilez, primesc urmatoarele erori:
-tin sa mentionez ca am inercat sa scot din gm
''SendClientMessageToAll(0xF7B934FF, RandTxtInf[random(7)]);
return 1;
}''insa degeaba, tot 26 erori primesc!
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\pawno\include\defnew.inc(1) : error 010: invalid function or declaration
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(22203) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(23186) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(23206) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(23227) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(23373) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(23444) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(23466) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(23488) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(25722) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(25958) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(25967) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(26135) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(26228) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(26548) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(26579) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(29979) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(30429) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(30438) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(30470) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(30521) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(30528) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(30538) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(30551) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(30576) : error 017: undefined symbol "AdminError"
C:\Users\Adelin-PC\Desktop\Folder nou\Gamemode rpg.thug.ro\Gamemode rpg.thug.ro\gamemodes\GM.pwn(30582) : error 017: undefined symbol "AdminError"Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors. -
Haide, sunt de aceiasi parere. Pune-l la loc :D !
-
Problema intalnita (descriere):Am luat GameMode BigZone (asemanator bugged) si nu primesc payday.
Ero(area / rile) / warning-(ul / urile): http://pastebin.com/ZFQhjEw8
Liniile de cod / sursa / script-ul(obligatoriu):http://pastebin.com/j4ieUgcx
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Desigur. Dar degeaba. -
Frumos! Care e comanda de a deschide portile factiunilor? sau cum o aflu? Ca la /factionhelp nu este!
5/5
- 1
Problema compilare
in Discuţii scripting
Posted
Ok, l-am definit in gamemode, după include -uri, l-am sters din include, iar acum a ramas un define pentru COLOR_GREEN pe prima linie. si acum imi da:
C:\Gamemodeuri samp\tag\pawno\include\defnew.inc(1) : error 010: invalid function or declaration
C:\Gamemodeuri samp\GM.pwn(5272) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(5302) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(10148) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(10153) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(10571) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(10577) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(27846) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(29803) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(29814) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(31419) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(31424) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(31425) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(31431) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(33489) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(33494) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(33527) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(33533) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(33557) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(33567 -- 33568) : error 017: undefined symbol "COLOR_GREEN"
C:\Gamemodeuri samp\GM.pwn(34796) : error 017: undefined symbol "COLOR_GREEN"
Trebe să ma iau sa trec toate define-urile in gamemode?