Jump to content

Raimis_R

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by Raimis_R

  1. Hello all i have question how to disable clock. I searched in wiki but not found function. If you dont understand pic: Thanks in advance.
  2. Man tai tas zaidimas kazkoks nekoks ;D Norejau siandien irgi kazka tokio ismeginti bet istrynes Visual Studio gavau perrasyt ir visus win tai va reiks ismegint gal pasiseks kazka su OpenGL nuveikt.
  3. Darbas atrodo,neblogai na kaip pastebejau visi pradedantieji pradeda nuo sito, sekmes tobulejant.
  4. del pinigu puses gal ir tiesa sakai,bet nezinau sieti gyvenima su programavimu nu kazkaip nelabai reikia tada visa laika skirti kompiuteriui bet C/C++ programmeriai kurie dirba kazkur rimciau tai tikrai uzdirba gana gerai,na tikekimes,kad pasiseks tau,beto taip visados ir buna,kad kai randi geresni buda pasiziuri i savo koda ai netvarkingas ai kitaip ir galiausiai ai darau is naujo ;D Na vistiek linkiu sekmes kuriant zaidima,jai kazkiek pavyks sukurti patalpink "ChangeLog" cia gal dar kokia bandomoja zaidimo versija
  5. Na cia istikro jau tu rimtas programeris ;D Butu tikrai saunu isvysti ta kuriama zaidima tikiuosi jis neliks pradetu o bus baiktas,nes mano prakikoje as pavyzdziu pradedu darba ta diena yra tiek noro dirbti programuoti o kita diena viskas nebenori net ziuret i tuos kodus ir taip kokiam menesiui ;D
  6. Very nice. And this system based on flat files or SQLLite,MySQL or something like this?
  7. That mean i can't use it in MTA 1.0.5? And sorry i created thread not in scripting forum Yes i readed this but i can't understand if this function sets for 1player or for all.
  8. Hello all i was looking at client functions and found setCameraGoogleEffect but i don't know how this function set for player because where no parameters. Who can my explain it a bit more ?
  9. Thank you very. #define it's and in C Language and i just was thinking it will be in LUA . ON TOPIC: Thanks!
  10. Thanks for example i will try do something.. And next how about INSERT INTO ('Name','Password') VALUES ('How Insert String','And where') Sorry but at this moment i can't get how insert strings,because i much time was working on Pawn. BTW I Have experience on mysql just i need more example with strings
  11. Hello all again i'm because in wiki it's only 1example with query i asking in this forum how i can check if player exist in mysql db now i'm checking local result = mysql_query(handler,"SELECT `Name` FROM `players` WHERE `Name` = '%s'",getPlayerName(source)) if(mysql_num_rows()) then ouputChatBox("Vartotojas egzistuoja",source) -- Found in the db else outputChatBox("Vartotojas neegzsituoja",source) -- Not found mysql_free_result(result) Problem it's with getPlayerName but i don't know how insert string in query
  12. Hello all i was searching in wiki but not found this. Example i wan't found letter 'A' in string local string = "Hello I'm A" and how i can found letter A in this string
  13. Hello all i don't know where i need report this but Unofficial MTA Script Editor don't saving scripts only when you creating resource then saving script.
  14. Okey thanks Aibo and xthepr0mise.
  15. Ok thank's guys but i don't understand why to group "Admin"
  16. Logs: BTW i don't know what i need edit but maybe in the acl.xml \ \ and set Or not?
  17. Thanks but with this script then i connecting to the server i getting black screen and nothing else
  18. Hello all i just looking around and learning lua and now i got problem with name check i whant to create function if player name it's "Player5345" then kick player from the server but when player connecting to the server he only spawning in the spawn point and my "NameCheck" function doesn't working Code : function prisijungimas() local x = 222.1 local y = 124.1 local z = 2.0 spawnPlayer(source, x, y, z) fadeCamera(source, true) setCameraTarget(source, source) outputChatBox("Hello " ..getPlayerName(source).. " Welcome To test server",source) end function checkdefaultname() local name = getPlayerName(source) if (name == "Player5345") then kickPlayer(source,"Bad Name") end end addEventHandler("onPlayerJoin",getRootElement(), prisijungimas,checkdefaultname)
  19. I don't know but where no functions like SetPVarInt(playerid,"Name",Value); 100% because Pawn and LUA its so different. Where are functions and eventHandlers
  20. Raimis_R

    Errors

    Thanks for answer. : )
  21. Raimis_R

    Errors

    No you don't understand maybe what i mean just with define you can bind colors like: #define COLOR_WHITE FFFFFF It's just example what can i do with #define
×
×
  • Create New...