Jump to content

xDelta

Membru
  • Posts

    43
  • Joined

  • Last visited

    Never

Everything posted by xDelta

  1. xDelta

    Problema!

    Doresc sa pun niste case in SAMP dar nu stiu cum. Am pus dar nu merg acele case. Ma ajutati va rog?
  2. xDelta

    Problema!

    Nick: Gabriel Problema: Problema HOUSE. Erori / warnings: - Lini/script: - Ai incercat sa rezolvi singur ?: da Nu stiu cum sa pun case in joc. Ma puteti ajuta cu o comanda sau sa imi explicati cum sa le bag? Am cautat pe net tutorial dar nu am descurc, tot nu merge!
  3. Mai am o problema, la house.txt trebuie sa adaug si acolo daca bag o casa? Daca da cum trebuie? Uitati astea sunt coordonatele de la /save din afara casei: AddPlayerClass(288,1468.1476,-1861.0963,13.8568,359.2882,0,0,0,0,0,0); //
  4. Nick: Gabriel Problema: Problema CARS! Erori / warnings: - Lini/script: - Ai incercat sa rezolvi singur ?: da Am creat o casa dupa acest tutorial: http://forum.egaming.ro/topic/80028-tutorialsamp-adaugarea-mai-multor-case/ Dar cand pornesc serverul imi da doar 4 masini... Stie cineva de ce?
  5. Va multumesc pentru ajutor. Multa sanatate !
  6. Imi poti da un link de 0.3z te rog? Ca nu gasesc.
  7. Nick: Gabriel Problema: Problema RemoveBuildingForPlayer Erori / warnings: - Lini/script: - Ai incercat sa rezolvi singur ?: da Am sters obiecte din GTA cu ajutorul lui MTA am facut in pawno RemoveBuildingForPlayer(playerid, X, Y, Z, 0.25); Dar cand intru pe Sa;Mp imi apare asa: Cum as putea rezolva? Multumesc!
  8. xDelta

    Problema

    Nu merge, dar un alt FS de masini personale nu stiti?
  9. xDelta

    Problema

    Nick: Gabriel Problema: Problema ownership Erori / warnings: - Lini/script: - Ai incercat sa rezolvi singur ?: da Am un fs car ownership ACESTA: http://www.sa-mp.ro/forum/index.php/topic,12269.0.html Si cand ma urc intr-o masina ( oarecare ) imi apare asta: Ma puteti ajuta?
  10. xDelta

    Problema

    Gireada, eu nu scriptez de mult timp. De asta am pus intrebare aici, daca stiam numai puneam intrebarea. Mersi de raspuns, am rezolvat.
  11. xDelta

    Problema

    Uite tot ce tine de IsAnOwnableCar : forward IsAnOwnableCar(vehicleid); if(IsAnOwnableCar(newcar)) { if(CarInfo[newcar][cOwned]==1) { if(strcmp(name,CarInfo[newcar][cOwner], true) == 0) { format(string,sizeof(string)," * Vehiculul tau, %s",CarInfo[newcar][cOwner]); SendClientMessage(playerid, COLOR_BLUE, string); if(PlayerInfo[playerid][pPcarkey] == vehicle) { } else if(PlayerInfo[playerid][pPcarkey2] == vehicle) { } } else { if(IsPlayerAdmin(playerid)) { SendClientMessage(playerid, COLOR_GREY, " You can drive this car because you are logged with RCON"); } else { SetPlayerPos(playerid,x,y,z+2); } format(string, sizeof(string), " * Tu nu esti %s",CarInfo[newcar][cOwner]); SendClientMessage(playerid, COLOR_GREY, string); } } } public IsAnOwnableCar(vehicleid) { if(vehicleid >= carsonserver && vehicleid <= 550) { return 1; } return 0; } if(IsAnOwnableCar(idcar)) { if(strlen(inputtext)) { giveplayerid = ReturnUser(inputtext); if(PlayerInfo[giveplayerid][pPcarkey] == -1) { } else if(PlayerInfo[giveplayerid][pPcarkey2] == -1) { } else { SendClientMessage(playerid, COLOR_GREY, " That player allready have 2 cars"); return 1; } if(CarInfo[idcar][cOwned]==1) { SendClientMessage(playerid, COLOR_GREY, "Someone already owns this car"); return 1; } if(PlayerInfo[giveplayerid][pPcarkey] == -1) { PlayerInfo[giveplayerid][pPcarkey] = idcar; } else if(PlayerInfo[giveplayerid][pPcarkey2] == -1) { PlayerInfo[giveplayerid][pPcarkey2] = idcar; } else { return 1; } CarInfo[idcar][cOwned] = 1; GetPlayerName(giveplayerid, sendername, sizeof(sendername)); strmid(CarInfo[idcar][cOwner], sendername, 0, strlen(sendername), 999); SavePlayerData(giveplayerid); OnCarUpdate(); format(string,128, " Personal car set to %s",sendername); SendClientMessage(playerid, COLOR_GREEN, string); } } else SendClientMessage(playerid, COLOR_GREY, " ERROR. That car is not a ownable car"); } else SendClientMessage(playerid, COLOR_GREY, " You must be in ownable vehicle to set a personal car"); } else return 1; } if(IsPlayerInVehicle(playerid, idcar) && IsAnOwnableCar(idcar)) { if(PlayerInfo[giveplayerid][pPcarkey] == -1) { } else if(PlayerInfo[giveplayerid][pPcarkey2] == -1) { } else { SendClientMessage(playerid, COLOR_GREY, " That player allready have 2 cars"); return 1; } if(PlayerInfo[giveplayerid][pPcarkey] == -1) { PlayerInfo[giveplayerid][pPcarkey] = idcar; } else if(PlayerInfo[giveplayerid][pPcarkey2] == -1) { PlayerInfo[giveplayerid][pPcarkey2] = idcar; } else { return 1; } if(CarInfo[idcar][cOwned] == 0) { CarInfo[idcar][cOwned] = 1; } GetPlayerName(giveplayerid, sendername, sizeof(sendername)); format(string, 128, " Masina lui %s i-a fost data lui %s ", CarInfo[idcar][cOwner], sendername); SendClientMessage(playerid,COLOR_GREEN, string); strmid(CarInfo[idcar][cOwner], sendername, 0, strlen(sendername), 999); SavePlayerData(giveplayerid); OnCarUpdate(); RemovePlayerFromVehicle(playerid); } else SendClientMessage(playerid, COLOR_GRAD1, " You must be in the personal car"); } } }
  12. xDelta

    Problema

    if(IsAnOwnableCar(newcar)) { if(CarInfo[newcar][cOwned]==1) { if(strcmp(name,CarInfo[newcar][cOwner], true) == 0) { format(string,sizeof(string)," * Vehiculul tau, %s",CarInfo[newcar][cOwner]); SendClientMessage(playerid, COLOR_BLUE, string); if(PlayerInfo[playerid][pPcarkey] == vehicle) { } else if(PlayerInfo[playerid][pPcarkey2] == vehicle) { } } else { if(IsPlayerAdmin(playerid)) { SendClientMessage(playerid, COLOR_GREY, " You can drive this car because you are logged with RCON"); } else { SetPlayerPos(playerid,x,y,z+2); } format(string, sizeof(string), " * Tu nu esti %s",CarInfo[newcar][cOwner]); SendClientMessage(playerid, COLOR_GREY, string); } } }
  13. xDelta

    Problema

    Am GameMode GTA.THEG.RO si cand dau /acreatecar imi apare dialogul sa pun numele persoanei care doresc sa ii dau masina, scriu numele apoi cand dau ENTER imi zice: ERROR. That car is not a ownable car. Uitate scriptul: if(dialogid==DIALOGIDSETOWNER) { if(response) { new pcname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pcname,13); if(IsPlayerInVehicle(playerid,idcar)) { if(IsAnOwnableCar(idcar)) { if(strlen(inputtext)) { giveplayerid = ReturnUser(inputtext); if(PlayerInfo[giveplayerid][pPcarkey] == -1) { } else if(PlayerInfo[giveplayerid][pPcarkey2] == -1) { } else { SendClientMessage(playerid, COLOR_GREY, " That player allready have 2 cars"); return 1; } if(CarInfo[idcar][cOwned]==1) { SendClientMessage(playerid, COLOR_GREY, "Someone already owns this car"); return 1; } if(PlayerInfo[giveplayerid][pPcarkey] == -1) { PlayerInfo[giveplayerid][pPcarkey] = idcar; } else if(PlayerInfo[giveplayerid][pPcarkey2] == -1) { PlayerInfo[giveplayerid][pPcarkey2] = idcar; } else { return 1; } CarInfo[idcar][cOwned] = 1; GetPlayerName(giveplayerid, sendername, sizeof(sendername)); strmid(CarInfo[idcar][cOwner], sendername, 0, strlen(sendername), 999); SavePlayerData(giveplayerid); OnCarUpdate(); format(string,128, " Personal car set to %s",sendername); SendClientMessage(playerid, COLOR_GREEN, string); } } else SendClientMessage(playerid, COLOR_GREY, " ERROR. That car is not a ownable car"); } else SendClientMessage(playerid, COLOR_GREY, " You must be in ownable vehicle to set a personal car"); } else return 1; }[ Si aici este comanda: if(strcmp(cmd, "/acreatecar", true) == 0) { if(PlayerInfo[playerid][pAdmin] == 1339) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /acreatecar [carid] [culoare1] [culoare2]"); return 1; } new car; car = strval(tmp); if(car < 400 || car > 611) { SendClientMessage(playerid, COLOR_WHITE, " Vehicle Number can't be below 400 or above 611 !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /acreatecar [carid] [culoare1] [culoare2]"); return 1; } new color1; color1 = strval(tmp); if(color1 < 0 || color1 > 252) { SendClientMessage(playerid, COLOR_WHITE, " Color Number can't be below 0 or above 252 !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /acreatecar [carid] [culoare1] [culoare2]"); return 1; } new color2; color2 = strval(tmp); if(color2 < 0 || color2 > 252) { SendClientMessage(playerid, COLOR_WHITE, " Color Number can't be below 0 or above 252 !"); return 1; } new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); new thiscar = CreateVehicle(car,X,Y,Z,1,color1,color2,99999999); CarInfo[thiscar][cOwned] = 0; CarInfo[thiscar][cModel] = car; CarInfo[thiscar][cColorOne] = color1; CarInfo[thiscar][cColorTwo] = color2; CarInfo[thiscar][cLocationx] = X; CarInfo[thiscar][cLocationy] = Y; CarInfo[thiscar][cLocationz] = Z; CarInfo[thiscar][cAngle] = 1; PutPlayerInVehicle(playerid,thiscar,0); strmid(CarInfo[vehid][cOwner], "No-one", 0, strlen("No-one"), 999); format(CarInfo[thiscar][cDescription], 32, "%s",vehName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]); format(string, sizeof(string), "The car %s [%d] has been created",CarInfo[thiscar][cDescription],thiscar); SendClientMessage(playerid, COLOR_BLUE, string); ShowPlayerDialog(playerid,DIALOGIDSETOWNER,DIALOG_STYLE_INPUT,"{E0941B}Vehicle owner","Write playerid/PartOfName \nto make owner this car:","Enter","Close"); } else { SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!"); return 1; } } Ma poate ajuta cineva?
  14. xDelta

    Problema

    Am rezolvat problema. Doresc Topic Closed [ T/C ]
  15. xDelta

    Problema

    Salutare. Am o problema, am urcat un server pe host, server-ul merge dar cand intru pe el scrie: The server didn't respond retrying. De la ce poate fi? Ma puteti ajuta? Multumesc! P.S.: Nu doar mie imi scrie asa, la toti le scrie asa.
  16. Problema rezolvata. Rog un moderator / administrator sa dea Topic Close
  17. Am o problema la 24/7, cand dau /buy sa cumpar ceva zice ca stoc epuizat. Cu comanda /edit nu merge si nici cu jobul trucker nu merge sa duc produse, de unde as putea modifica sa fie produse? Multumesc pentru atentie!
  18. Si cum as putea sa rezolv?
  19. Am rezolvat problema! Rog T.C
  20. Mi-am bagat gm-ul pe host si la mode scrie unknown.. Nu imi recunoaste gm-ul meu.. De ce?! A-MP Dedicated Server ---------------------- v0.3x-R2, ©2005-2013 SA-MP Team [09:48:48] [09:48:48] Server Plugins [09:48:48] -------------- [09:48:48] Loading plugin: streamer.so [09:48:48] *** Streamer Plugin v2.6.1 by Incognito loaded *** [09:48:48] Loaded. [09:48:48] Loading plugin: mysql.so [09:48:48] Failed (plugins/mysql.so: cannot open shared object file: No such file or directory) [09:48:48] Loaded 1 plugins. [09:48:48] [09:48:48] Filterscripts [09:48:48] --------------- [09:48:48] Loading filterscript 'Turf.amx'... [09:48:48] Unable to load filterscript 'Turf.amx'. [09:48:48] Loading filterscript 'SObjects.amx'... [09:48:49] 1823 Dynamic Objects Loaded in 61 ms ~ [09:48:49] Loading filterscript 'time.amx'... [09:48:49] Loading filterscript 'animlist.amx'... [09:48:49] Loading filterscript 'fireworks.amx'... [09:48:49] Loading filterscript 'anti_fk_kill.amx'... [09:48:49] ---------------------------------------- [09:48:49] Anti FakeKill Flood FilterScript by RuNix [09:48:49] ---------------------------------------- [09:48:49] Loaded 5 filterscripts. [09:48:50] Script[gamemodes/gfsql.amx]: Run time error 19: "File or function is not found" [09:48:50] Number of vehicle models: 0 asa apare in log
  21. Am reusit sa urc baza de date mysql si am pornit serverul linkmania... insa cand il deschid imi apare sa ma inregistrez scriu parola si imi da server closed connection Aici este poza cum apare cand intru pe sv: Aici este poza dupa ce scriu parola pentru inregistrare: Imi puteti spune unde ar fi problema si cum sa o rezolv?
  22. xDelta

    Ajutor MYSQL

    add. <nu se lasa id-uri> sa ma ajuti si pe mn daca vrei
  23. xDelta

    Ajutor MYSQL

    Are fisierul lands , si tot nu merge. L-am mai copiat odata si tot nu merge...
  24. Salut, am luat si eu gm-ul "linkmania" de pe internet si imi da error cand il deschid la mysql, stiu ca imi trebuie cont database dar nu merge sa imi creez. Ma poate ajuta cineva sa mut sv de pe mysql sau sa imi creeze cineva date database. Astept raspuns. Multumesc pentru atentie!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.