Jump to content

Mark.W

Membru
  • Posts

    30
  • Joined

  • Last visited

    Never

Everything posted by Mark.W

  1. Merci baieti pentru apreciere. Daca foloseste careva harta in server-ul propriu (sau o vede in altul), daca nu aveti ce face trimiteti-mi si mie intr-un PM IP-ul server-ului. Thanks :)
  2. Scuze pentru reply, dar am vrut sa readuc topicul pe prima pagina.
  3. Salut, am o mica problema cu scriptul la care lucrez. Incerc sa fac in asa fel incat sa se salveze datele cand se deconecteaza si sa incarce valorile enum-ului la conectare. Code: public OnPlayerConnect(playerid) { new pname[MAX_PLAYER_NAME], string[256]; GetPlayerName(playerid, pname, sizeof(pname)); format(string, sizeof(string), "/accounts/%s.ini", pname); if(dini_Exists(pname)) { ShowPlayerDialog(playerid, LOGIN, 1, "Sign In", "Account registered - Sign In:", "Quit", "Sign In"); pData[playerid][pName] = pname; pData[playerid][pKey] = dini_Get(string, pKey); pData[playerid][pSecKey] = dini_Get(string, pSecKey); pData[playerid][pMoney] = dini_Get(string, pMoney); pData[playerid][pScore] = dini_Get(string, pScore); pData[playerid][pLevel] = dini_Get(string, pLevel); pData[playerid][pAdminLevel] = dini_Get(string, pAdminLevel); pData[playerid][pPosX] = dini_Get(string, pPosX); pData[playerid][pPosY] = dini_Get(string, pPosY); pData[playerid][pPosZ] = dini_Get(string, pPosZ); pData[playerid][pSkin] = dini_Get(string, pSkin); return 1; } else { ShowPlayerDialog(playerid, REGISTER, 1, "Register", "Please type in a password to register:[min. 6 chars.]", "Quit", "Register"); return 1; } return 1; } public OnPlayerDisconnect(playerid, reason) { new pname[MAX_PLAYER_NAME], string[256]; GetPlayerName(playerid, pname, sizeof(pname)); format(string, sizeof(string), "/accounts/%s.ini", pname); if(dini_Exists(pname)) { dini_Set(string, pName, pData[playerid][pName]); dini_Set(string, pKey, pData[playerid][pKey]); dini_Set(string, pSecKey, pData[playerid][pSecKey]); dini_FloatSet(string, pMoney, pData[playerid][pMoney]); dini_IntSet(string, pScore, pData[playerid][pScore]); dini_IntSet(string, pLevel, pData[playerid][pLevel]); dini_IntSet(string, pAdminLevel, pData[playerid][pAdminLevel]); dini_FloatSet(string, pPosX, pData[playerid][pPosX]); dini_FloatSet(string, pPosY, pData[playerid][pPosY]); dini_FloatSet(string, pPosZ, pData[playerid][pPosZ]); dini_IntSet(string, pSkin, pData[playerid][pSkin]); return 1; } return 1; } Errors: C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(132) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(132) : error 047: array sizes do not match, or destination array is too small C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(133) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(133) : error 047: array sizes do not match, or destination array is too small C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(134) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(134) : error 006: must be assigned to an array C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(135) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(135) : error 006: must be assigned to an array C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(136) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(136) : error 006: must be assigned to an array C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(137) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(137) : error 006: must be assigned to an array C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(138) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(138) : error 006: must be assigned to an array C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(139) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(139) : error 006: must be assigned to an array C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(140) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(140) : error 006: must be assigned to an array C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(141) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(141) : error 006: must be assigned to an array C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(149) : warning 225: unreachable code C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(159) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(160) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(161) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(162) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(163) : error 035: argument type mismatch (argument 2) C:\Users\Anthony\Desktop\scripting\gamemodes\lvtdm.pwn(164) : error 035: argument type mismatch (argument 2) Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. Nu este o problema ca lipseste o paranteza. Imi da erori la toate liniile cu dini. Putin ajutor va rog?
  4. Poate ne arati si noua fisierul .ini ? (fara parola) Sa incercam sa te ajutam.
  5. San Fierro Kart Track v2.0 Romana Dupa cum am promis (pe fostul forum sa-mp.com), am reusit sa termin a doua versiune a Pistei mele de Karting construita in San Fierro. Stiu ca am folosit foarte multe obiecte, dar totusi, o sa va placa. Pot sa garantez asta. Harta este total schimbata fata de prima versiune. Nici macar un singur obiect nu mai este la fel ca in prima versiune. Restul descrierii o gasiti in filmulet. Scuzati-ma pentru lipsa screen-urilor dar Tinypic nu imi merge din anumite motive necunoscute. Oricum, sper sa va placa! NOTE: Daca vrei sa ai acces la locurile de langa standuri, trebuie sa iti faci propriul teleport. Altfel, poti scoate pur si simplu obiectul de la linia 227 (pastebin) NOTE: Problema care o vedeti in filmulet la cosurile de gunoi este deja reparata! English As I promissed, I`ve managed to finish the second version of my Kart Track based in San Fierro. I know I`ve used alot of objects, but hey! you`ll like it, I can guarantee it. The map is tottaly changed. Not even one thing is the same as in the first version. The rest of the description you want is in the movie. Excuse me for the missing screens, but Tinypic doesn`t seem to work for me... Anyway, hope you`ll like it! NOTE: If you want to access the seats next to the pit stop, you must create a teleport. Otherwise, you will need to remove the object at line 227 (on pastebin) NOTE: The bug that you see in the movie with the trashcans, is already fixed! Video Misc. Information Location/Locatie: San Fierro Worktime/Timp de lucru: 7 hours/ore Objects/Obiecte: 270 Bugs/Probleme: There is one, which I can`t fix, it`s in the GTA map. There are some braking and oil marks floating./Este una singura, pe care nu o pot repara. Sunt niste urme de frane si de ulei care plutesc. Version/Versiune: 2.0 Other versions •Version 1.0 : HERE Download •Pastebin: HERE Enjoy!
×
×
  • 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.