Jump to content

iPanter

Member
  • Posts

    35
  • Joined

  • Last visited

4 Followers

About iPanter

Recent Profile Visitors

990 profile views

iPanter's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Intrebare: Cum as putea sa fac ca atunci dupa ce termini toti pasii de inregistrare sa arate cum aterizeaza un avion pe pista, apoi sa iti da spawn? cum era pe unele sv sau imi puteti zice pe ce gm sa ma inspir?Ai încercat să faci ceva înainte să postezi?: Nu
  2. Atunci de ce primesc 'Server closed the connections'? Unde ar fii bug-ul?
  3. De ce imi iau 'Server closed the connections' cand incerc sa modific pozitia la dmv? Dupa ce dau ok la dialog, instant. Comanda + DIALOG: YCMD:editdmvpos(playerid, params[], help) { if(PlayerInfo[playerid][userAdmin] < 6) return SCM(playerid, COLOR_ERROR, "Eroare: Nu esti administrator level 6+."); ShowPlayerDialog(playerid, DIALOG_EDITDMV, DIALOG_STYLE_MSGBOX, "Edit DMV Position:", "Esti sigur ca vrei sa schimbi pozitia DMV-ului?", "Ok", "Cancel"); return 1; } case DIALOG_EDITDMV: { if(!response) return 1; new Float:pos[3]; GetPlayerPos(playerid, pos[0], pos[1], pos[2]); dmvVariables[0][cpPos][0] = pos[0]; dmvVariables[0][cpPos][1] = pos[1]; dmvVariables[0][cpPos][2] = pos[2]; gString[0] = (EOS); mysql_format(SQL, gString, sizeof gString, "UPDATE `server_dmv` SET `dmvCPX` = '%f' , `dmvCPY` = '%f' , `dmvCPZ` = '%f' WHERE `dmvCPID` = '1'", pos[0], pos[1], pos[2]); mysql_tquery(SQL, gString, "", ""); DestroyDynamicPickup(dmvVariables[0][cpPickup]); DestroyDynamic3DTextLabel(dmvVariables[0][cpLabel]); dmvVariables[0][cpLabel] = CreateDynamic3DTextLabel("{FFFFFF}Scoala Auto\nApasa {FF0000}Y{FFFFFF} pentru a incepe examenul auto", 0x33CCFFFF, dmvVariables[0][cpPos][0], dmvVariables[0][cpPos][1], dmvVariables[0][cpPos][2], 25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0); dmvVariables[0][cpPickup] = CreateDynamicPickup(1239, 1, dmvVariables[0][cpPos][0], dmvVariables[0][cpPos][1], dmvVariables[0][cpPos][2]); sendToAdmins(COLOR_ADMCOMMANDS, "[Admin Info]: {FFFFFF}%s a schimbat pozitia DMV-ului.", returnName(playerid)); SCM(playerid, COLOR_ROZ, "Ai schimbat pozitia DMV-ului cu succes."); }
  4. E definit asa: PlayerInfo[MAX_PLAYERS][e_PlayerData],
  5. De ce primesc warning 213: tag mismatch unde am PlayerInfo[playerid]. Dar nu la toate.. https://imgur.com/a/909fVhC
  6. Daca ne-ai arata si un server_log, te-am ajuta..
  7. Poate ai uitat sa inchizi o acolada.. Verifica ce ai modificat inainte sa primesti eroarea.
×
×
  • Create New...