ExteeL
-
Posts
24 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by ExteeL
-
-
Problemă întâlnită (descriere): Am gasit un GM in PC si cand am dat compile, m-am trezit cu 3 errori.
Ero(area / rile) / warning-(ul / urile):D:UsersSergiuDesktopLaimon RPG v0.1gamemodeslaimon.pwn(5832) : error 017: undefined symbol "MAX_COUNTRY_NAME" D:UsersSergiuDesktopLaimon RPG v0.1gamemodeslaimon.pwn(5832) : error 009: invalid array size (negative, zero or out of bounds) D:UsersSergiuDesktopLaimon RPG v0.1gamemodeslaimon.pwn(5832) : error 036: empty statement D:UsersSergiuDesktopLaimon RPG v0.1gamemodeslaimon.pwn(5832) : fatal error 107: too many error messages on one line
Liniile de cod / sursa / script-ul:
5832 - new country[MAX_COUNTRY_NAME]; GetCountryName(playerVariables[extraid][pConnectionIP], country, sizeof(country));
Imagini / Video (optional): Nu.
Aţi încercat să rezolvaţi singur?: Da. -
Super, il poti face sub forma de FS sau ma poate ajuta cineva sa il instalez?
-
Mersi mult! Check PM apropo.
-
Am intr-un GM chestia aia daca apesi pe N sa isi dea /lock masina insa nu stiu cum se cheama... +1
-
Salut, am niste comenzi cu CMD si vreau sa le pun pe un alt GM.. si ma prinde Craciunu si Pastele.. nu pot cumva sa selectez direct de unde pana unde sa copiez si sa pun in alt GM?
-
Nu reusesc sa ma conectez la baza de date la GM Skitter, am modificat toate datele, corect si cand intru pe server imi zice ca nu e bine..
-
Un prieten are host, si eu am un GM mysql.. el nu stie mysql. Mi-a dat datele de la host insa nu stiu ce sa fac cu ele..
-
Pune
new Vehstatus2[MAX_PLAYERS];
Dupa care compileaza,iar daca iti da eroarea aceea cu i pune si linia 21027.
Imi da un warning Symbol Never Used la linia 44635 iar GM-ul meu are numai 44634.. :|
-
Am rezolvat.
-
Posteaza te rog warningurile si liniile la care iti da warningurile.
D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 017: undefined symbol "Vehstatus2" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 017: undefined symbol "i" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 029: invalid expression, assumed zero D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : fatal error 107: too many error messages on one line
-
Este din cauza ca ai sistemul de atasament al armelor pe spate.
Acel fs se numeste armedbody sau asa ceva,eliminal din filterscripts si o sa poti sa dai cu artificii.
Nu am alt FS inafara de cel de Artificii
-
Merge! Mersi frate! Sa mor eu esti cel mai bun... mersi ca ti-ai batut capul cu mine si nu m-ai lasat.. esti singurul Mersi!! +1..
-
Tot asa... Undefined Symbol VehStatus 2 si i
-
Incearca:
CMD:lock(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(IsPlayerConnected(playerid)) { new engine,lights,alarm,doors,bonnet,boot,objective; if(SwitchKey[playerid] == 1) { new string[100]; if(personalcar[playerid] != 0) { if(CheckPlayerDistanceToVehicle(5.0, playerid, personalcar[playerid])) { if(CarInfo[OwnedVeh(personalcar[playerid])][cLock] == 1) { format(string,sizeof(string),"~y~UNLOCKED"); TextDrawSetString(Vehstatus2, string); TextDrawShowForPlayer(i, Vehstatus2); CarInfo[OwnedVeh(personalcar[playerid])][cLock] = 0; gCarLock[personalcar[playerid]] = 0; vUpdate(OwnedVeh(personalcar[playerid]), cLockx); // return 1; } else if(CarInfo[OwnedVeh(personalcar[playerid])][cLock] == 0) { format(string,sizeof(string),"~r~LOCKED"); TextDrawSetString(Vehstatus2, string); TextDrawShowForPlayer(i, Vehstatus2); CarInfo[OwnedVeh(personalcar[playerid])][cLock] = 1; gCarLock[personalcar[playerid]] = 1; vUpdate(OwnedVeh(personalcar[playerid]), cLockx); // return 1; } } else return SendClientMessage(playerid, COLOR_WHITE, "{FFB870}Your vehicle not near you."); } else return SendClientMessage(playerid, COLOR_WHITE, "{FFB870}You don't have a vehicle."); } else if(SwitchKey[playerid] == 2) { new carid,string[128]; if(HireCar[playerid] == -1) return SCM(playerid,COLOR_WHITE,"{FFB870}You do not have a rental car/boat/bike/scooter already."); if(HireCar[playerid] != -1) { carid = HireCar[playerid]; } if(CheckPlayerDistanceToVehicle(5.0, playerid, HireCar[playerid])) { //if(gCarLock[personalcar[playerid]] == 0) { format(string,sizeof(string),"~y~UNLOCKED"); TextDrawSetString(Vehstatus2, string); TextDrawShowForPlayer(i, Vehstatus2); } else if(gCarLock[personalcar[playerid]] == 1) { format(string,sizeof(string),"~r~LOCKED"); TextDrawSetString(Vehstatus2, string); TextDrawShowForPlayer(i, Vehstatus2); } } } } return 1; }
Imi poti da comanda fara
te rog? Trebuie sa stau 2 minute sa aranjez liniile ..
-
Ok.
Poza I:
Code:
helpstext = TextDrawCreate(428.000091, 7.466656, "Reports:"); TextDrawLetterSize(Textdraw0, 0.366000, 1.301333); TextDrawAlignment(Textdraw0, 1); TextDrawColor(Textdraw0, 41215); TextDrawSetShadow(Textdraw0, 0); TextDrawSetOutline(Textdraw0, 1); TextDrawBackgroundColor(Textdraw0, 51); TextDrawFont(Textdraw0, 1); TextDrawSetProportional(Textdraw0, 1); helpstext = TextDrawCreate(483.199981, 5.226665, " "); TextDrawLetterSize(helpstext, 0.333999, 1.637333); TextDrawSetShadow(helpstext, 1); TextDrawSetShadow(helpstext, 1); TextDrawSetOutline(helpstext, 1); TextDrawFont(helpstext, 1); helpstext = TextDrawCreate(439.200012, 385.279937, "Helps:"); TextDrawLetterSize(helpstext, 0.361999, 1.786666); TextDrawTextSize(helpstext, -23.999992, 0.000000); TextDrawColor(helpstext, -16776961); TextDrawSetShadow(helpstext, 1); TextDrawSetOutline(helpstext, 1); TextDrawFont(helpstext, 1); Textdraw3 = TextDrawCreate(479.200012, 389.013427, " "); TextDrawLetterSize(reportstext, 0.425999, 1.525333); TextDrawColor(reportstext, -16776961); TextDrawSetShadow(reportstext, 1); TextDrawSetOutline(reportstext, 1); TextDrawFont(reportstext, 1);
Poza II:
Code:
reportstext = TextDrawCreate(503.200012, 104.533317, "Reports:"); TextDrawLetterSize(reportstext, 0.369999, 1.637333); TextDrawColor(reportstext, -16776961); TextDrawSetShadow(reportstext, 1); TextDrawSetOutline(reportstext, 1); TextDrawFont(reportstext, 1); Textdraw1 = TextDrawCreate(504.000000, 123.199996, "Helps:"); TextDrawLetterSize(Textdraw1, 0.373999, 1.488000); TextDrawAlignment(Textdraw1, 1); TextDrawColor(Textdraw1, -5963521); TextDrawSetShadow(Textdraw1, 0); TextDrawSetOutline(Textdraw1, 1); TextDrawBackgroundColor(Textdraw1, 51); TextDrawFont(Textdraw1, 1); TextDrawSetProportional(Textdraw1, 1); reportstext = TextDrawCreate(610.000000, 102.299995, "usebox"); TextDrawLetterSize(reportstext, 0.000000, 5.241853); TextDrawTextSize(reportstext, 494.000000, 0.000000); TextDrawColor(reportstext, -16776961); TextDrawSetShadow(reportstext, 1); TextDrawSetOutline(reportstext, 1); TextDrawFont(reportstext, 1); reportstext = TextDrawCreate(557.600036, 106.026679, " "); TextDrawLetterSize(reportstext, 0.409999, 1.338666); TextDrawColor(reportstext, -16776961); TextDrawSetShadow(reportstext, 1); TextDrawSetOutline(reportstext, 1); TextDrawFont(reportstext, 1); helpstext = TextDrawCreate(547.200012, 123.946685, " "); TextDrawLetterSize(helpstext, 0.449999, 1.600000); TextDrawColor(helpstext, -16776961); TextDrawSetShadow(helpstext, 1); TextDrawSetOutline(helpstext, 1); TextDrawFont(helpstext, 1);
PS: Literele in plus au fost ghid pentru mine.Ele nu vor aparea cand vor aparea si textdraw-ul.
Mersi, insa primesc 9 erori:
D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14064) : error 017: undefined symbol "Textdraw1" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14065) : error 017: undefined symbol "Textdraw1" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14066) : error 017: undefined symbol "Textdraw1" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14067) : error 017: undefined symbol "Textdraw1" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14068) : error 017: undefined symbol "Textdraw1" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14069) : error 017: undefined symbol "Textdraw1" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14070) : error 017: undefined symbol "Textdraw1" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14071) : error 017: undefined symbol "Textdraw1" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14072) : error 017: undefined symbol "Textdraw1"
-
Arata-ne cum ai puso in /lock.
CMD:lock(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(IsPlayerConnected(playerid)) { new engine,lights,alarm,doors,bonnet,boot,objective; if(SwitchKey[playerid] == 1) { new string[100]; if(personalcar[playerid] != 0) { if(CheckPlayerDistanceToVehicle(5.0, playerid, personalcar[playerid])) { if(CarInfo[OwnedVeh(personalcar[playerid])][cLock] == 1) { GetVehicleParamsEx(personalcar[playerid],engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(personalcar[playerid],engine,lights,alarm,0,bonnet,boot,objective); format(string, sizeof(string), "~w~%s ~n~~g~Unlocked",CarInfo[OwnedVeh(personalcar[playerid])][cDescription]); GameTextForPlayer(playerid, string, 4000, 3); CarInfo[OwnedVeh(personalcar[playerid])][cLock] = 0; gCarLock[personalcar[playerid]] = 0; vUpdate(OwnedVeh(personalcar[playerid]), cLockx); // return 1; } else if(CarInfo[OwnedVeh(personalcar[playerid])][cLock] == 0) { GetVehicleParamsEx(personalcar[playerid],engine,lights,alarm,doors,bonnet,boot,objective); SetVehicleParamsEx(personalcar[playerid],engine,lights,alarm,1,bonnet,boot,objective); format(string, sizeof(string), "~w~%s ~n~~r~Locked",CarInfo[OwnedVeh(personalcar[playerid])][cDescription]); GameTextForPlayer(playerid, string, 4000, 3); CarInfo[OwnedVeh(personalcar[playerid])][cLock] = 1; gCarLock[personalcar[playerid]] = 1; vUpdate(OwnedVeh(personalcar[playerid]), cLockx); // return 1; } } else return SendClientMessage(playerid, COLOR_WHITE, "{FFB870}Your vehicle not near you."); } else return SendClientMessage(playerid, COLOR_WHITE, "{FFB870}You don't have a vehicle."); } else if(SwitchKey[playerid] == 2) { new carid,string[128]; if(HireCar[playerid] == -1) return SCM(playerid,COLOR_WHITE,"{FFB870}You do not have a rental car/boat/bike/scooter already."); if(HireCar[playerid] != -1) { carid = HireCar[playerid]; } if(CheckPlayerDistanceToVehicle(5.0, playerid, HireCar[playerid])) { //if(gCarLock[personalcar[playerid]] == 0) { format(string,sizeof(string),"~y~UNLOCKED"); TextDrawSetString(Vehstatus2, string); TextDrawShowForPlayer(i, Vehstatus2); } else if(gCarLock[personalcar[playerid]] == 1) { format(string,sizeof(string),"~r~LOCKED"); TextDrawSetString(Vehstatus2, string); TextDrawShowForPlayer(i, Vehstatus2); } } } } return 1; }
-
Ok,ne poti oferi o poza cam cum vrei sa arate?
Deci Reports sa fie sub Helps, sau invers.. de preferat invers..
http://postimg.org/image/qmax4ndhx/
helpstext = TextDrawCreate(478.000000, 11.946619, " "); TextDrawLetterSize(helpstext, 0.252000, 0.903111); TextDrawColor(helpstext, -16776961); TextDrawSetShadow(helpstext, 1); TextDrawSetOutline(helpstext, 1); TextDrawFont(helpstext, 1); reportstext = TextDrawCreate(474.000000,332.000000, " "); TextDrawLetterSize(reportstext, 0.252000, 0.903111); TextDrawColor(reportstext, -16776961); TextDrawSetShadow(reportstext, 1); TextDrawSetOutline(reportstext, 1); TextDrawFont(reportstext, 1);
-
Problemă întâlnită (descriere): As vrea sa mut textdraw-ul cu Reports sub cel de Helps.. nu ma pricep in modificarea coordonatelor..
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul: Uitati Textdraw-ul cu Reports si cel cu Helps.. Vreau sa puneti Reports SUB Helpshelpstext = TextDrawCreate(478.000000, 11.946619, " "); TextDrawLetterSize(helpstext, 0.252000, 0.903111); TextDrawColor(helpstext, -16776961); TextDrawSetShadow(helpstext, 1); TextDrawSetOutline(helpstext, 1); TextDrawFont(helpstext, 1); reportstext = TextDrawCreate(474.000000,332.000000, " "); TextDrawLetterSize(reportstext, 0.252000, 0.903111); TextDrawColor(reportstext, -16776961); TextDrawSetShadow(reportstext, 1); TextDrawSetOutline(reportstext, 1); TextDrawFont(reportstext, 1);
Imagini / Video (optional): -
Aţi încercat să rezolvaţi singur?: Nu. Nu ma pricep la coordonate. -
Aceasta vine in comanda /lock.
Am pus-o in [/lock] si imi da 4 erori
D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 017: undefined symbol "Vehstatus2" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 017: undefined symbol "i" D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 029: invalid expression, assumed zero D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : fatal error 107: too many error messages on one line
-
Salut! Am incercat sa pun un FS de artificii facut de Artist in GM-ul meu. Tot merge bine, cumpar artificile dau /blow, face animatia de /bomb insa nu se vad artificile. Mentionez faptul ca am GM Saints Editat. Am incercat cu un alt edit facut de Lego pentru acelasi gm si mi-a mers.. imi arata artificile. Am copiat tot ce aveam in folderu de la GM editat de Lego in folder la mine inafara de gamemodes. Si tot nu merge.. ce poate sa aiba?
-
if(gCarLock[personalcar[playerid]] == 0) { format(string,sizeof(string),"~y~UNLOCKED"); TextDrawSetString(Vehstatus2, string); TextDrawShowForPlayer(i, Vehstatus2); } else if(gCarLock[personalcar[playerid]] == 1) { format(string,sizeof(string),"~r~LOCKED"); TextDrawSetString(Vehstatus2, string); TextDrawShowForPlayer(i, Vehstatus2);
-
Salutare, de unde pot face rost de ultimele pluginuri si includeuri?
-
Problemă întâlnită (descriere): Am un fel de textdraw care daca masina e descuiata apare un textdraw cu verde Unlocked iar daca e incuiata apare un textdraw cu rosu, insa l-am pus la textdraw acolo si primesc tagmismatch, iar daca il pun la ongamemodeinit primesc ogramada de errori..
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul: [pawn]if(gCarLock[personalcar[playerid]] == 0)
{
format(string,sizeof(string),"~y~UNLOCKED");
TextDrawSetString(Vehstatus2, string);
TextDrawShowForPlayer(i, Vehstatus2);
}
else if(gCarLock[personalcar[playerid]] == 1)
{
format(string,sizeof(string),"~r~LOCKED");
TextDrawSetString(Vehstatus2, string);
TextDrawShowForPlayer(i, Vehstatus2);
[/pawn]
Imagini / Video (optional): -
Aţi încercat să rezolvaţi singur?: Da.
Sprijin Run Time Error 019
in Arhivă probleme
Posted
Problema intalnita (descriere): Am deschis un server, (l-am urcat pe baza de date tot foarte bine), si imi da Run time error 019..
Ero(area / rile) / warning-(ul / urile): Run Time Error 019
Liniile de cod / sursa / script-ul:
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: Da.