comorasu_florin
-
Posts
76 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by comorasu_florin
-
-
Acum 8 minute, matei_ a spus:
YCMD:givehouse(playerid, params[], help) { new hID, ID, query[256], string[180]; if(PlayerInfo[playerid][pAdmin] < 6) return true; if(sscanf(params, "ui", ID, hID)) return SCM(playerid, COLOR_GREY, "Syntax: {FFFFFF}/givehouse [playerid / part of name] [house id]"); PlayerInfo[ID][pHouse] = hID; query[0] = EOS; mysql_format(SQL, query, sizeof(query), "UPDATE `users` SET `House` = '%i' WHERE `ID` = '%i'", hID, PlayerInfo[ID][pSQLID]); mysql_tquery(SQL, query, "", ""); format(string, sizeof(string), "({FF0000}Admin Info{FFFFFF}) %s i-a dat lui %s (ID: %i) casa %i.", GetName(playerid), GetName(ID), ID, hID); SendAdminMessage(COLOR_WHITE, string, 1); format(string, sizeof(string), "Administratorul %s ti-a dat casa %i.", GetName(playerid), hID); SCM(ID, COLOR_YELLOW, string); HouseInfo[hID][hOwned] = 1; format(HouseInfo[hID][hOwner], 24, GetName(ID)); HouseInfo[hID][hValue] = 0; UpdateLabel(1, hID); query[0] = EOS; mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Owned` = '1', `Owner` = '%s', `Value` = '0' WHERE `ID` = '%i'", GetName(ID), hID); mysql_tquery(SQL, query, "", ""); return true; }
Sper să îți fie de ajutor comanda, am rescris-o puțin.
Imediat incerc mersi de ajutor
-
Acum 3 minute, matei_ a spus:
mysql_format(SQL, query, sizeof(query), "UPDATE users SET House='999' WHERE House='%d'", id); mysql_tquery(SQL, query, "", "");
Nu înțeleg de ce folosești această interogare, poți să o ștergi. Probabil de asta primești erorile. Te rog, postează un mysql_log mai curat.
Mna gm b-hood facut de HPQ123 dupa ce faci multe in gm iti da errori la case acum si nustiu cum drq sa rezolv
-
[21:53:31] Error ID: 1065, Eroare: Query was empty [21:53:31] Callback: [21:53:31] gQuery: [21:53:31] ==================================================================== [21:53:31] ==================================================================== [21:53:31] Error ID: 1065, Eroare: Query was empty [21:53:31] Callback: [21:53:31] gQuery: [21:53:31] ====================================================================Cand se salveaza in baza imi da erorile astea de la ce drq sa fie
Daca puteti sa ma ajutati
Comanda:
YCMD:givehouse(playerid, params[], help) {
new house, id, query[256], string[180];if(PlayerInfo[playerid][pAdmin] < 6) return true;
if(sscanf(params, "id", id, house)) return SCM(playerid, COLOR_GREY, "Syntax: {FFFFFF}/givehouse <playerid/name> <house id>");
mysql_format(SQL, query, sizeof(query), "UPDATE users SET House='999' WHERE House='%d'", id);
mysql_tquery(SQL, query, "", "");PlayerInfo[id][pHouse] = house;
query[0] = EOS;
mysql_format(SQL, query, sizeof(query), "UPDATE users SET House='%d' WHERE ID='%d'", house, PlayerInfo[id][pSQLID]);
mysql_tquery(SQL, query, "", "");format(string, sizeof(string), "({FF0000}Admin Info{FFFFFF}) %s i-a dat lui %s(%d) casa %d.", GetName(playerid), GetName(id), id, house);
SendAdminMessage(COLOR_WHITE, string, 1);format(string, sizeof(string), "Administratorul %s ti-a dat casa %d.", GetName(playerid), house);
SCM(id, COLOR_YELLOW, string);HouseInfo[house][hOwned] = 1;
format(HouseInfo[house][hOwner], 256, GetName(id));
HouseInfo[house][hValue] = 0;
UpdateLabel(1, house);
query[0] = EOS;
mysql_format(SQL, query, sizeof(query), "UPDATE houses SET Owned='1', Owner='%s', Value='0' WHERE ID='%d'", GetName(id), house);
mysql_tquery(SQL, query, "", "");
return true;
} -
-
-
-
Salut doresc sa urc un panel pe webhost dar nu e compatibil si nu prea am bani sa platesc sa faca cineva compatibil daca e cineva interesant sa ma ajute astept contact pe discord
Comorasu#7007
-
Recomand, insa nu pentru sisteme dezvoltate. Insa, pentru sistemele simple, bug-uri simple, il recomand cu mare incredere.
-
Salut nu merge discord tau sa iti spun ceva daca poti da-mi add pe discord Comorasu#7007
-
Ai dat save?
-
Acum 20 minute, wmarianw a spus:
Accepta cererea.
Gata.
-
Poti da add pe discord sunt dispus sa platesc o suma pentru niste TD Discord: Comorasu#7007 sau contact pe email [email protected]
- 2
-
-
+1 pentru munca depusa
-
buNNy#0001
-
Salut doresc si eu un forum nu conteaza cum e ca il fac eu doar imi trebuie ceva sa pot edita multumesc.
-
@victor gaming da pm pe discord Comorasu#7007 am eu un panel original.
-
La 29.01.2021 la 19:37, VeCksY a spus:
Add edCore#3667 si daca am timp o sa incerc sa te ajut.
Da-mi add pe discord sa te pot ajuta Comorasu#7007 ca stiu cum sa il mut.
-
+1 merita acest gamemode are multe chestii in el si apreciez si munca.
-
Da-mi add pe discord Comorasu#7007 sa te pot ajuta.
-
Acum 15 ore, Marian Questez a spus:
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(2816) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(9389) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(9390) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(9391) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(11034) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(11042) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(11647) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(11650) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21012) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21013) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21014) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21015) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21016) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21017) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21018) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21019) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21020) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21021) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21022) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21023) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21024) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21025) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21026) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21027) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21028) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\maria\OneDrive\Documents\Gamemode HPQ EDIT\gamemodes\edit.pwn(21029) : error 001: expected token: "-string end-", but found "-identifier-"Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
[Finished in 48.5s]Acest gamemode se compileaza cu sublime zeex.
-
+1 merita acest sistem
-
-
Problema TD examen
in Ajutor Scripting
Posted
Salut am facut un td pentru sistem de exam si l-am implementat tot si cand intru pe server si dau /exam nu merge daca puteti sa ma ajutati
dati-mi add pe discord
Discord:Florin#2583