Jump to content

Renkon

Members
  • Posts

    876
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Renkon

  1. guiCreateStaticImage dxDrawImage Creo que tiene un argumento postGui si no me equivoco, ponle false Y crea los buttons y todo eso de forma individual sin ventana (podrías crear un elemento 'imaginario' que se llame ventana para linkearlos a un parent) createElement -- para hacer un parent
  2. it means that the arugment used in function at line 62 is not a ped pointer and then theres no vehicle so getelementhealth wont work
  3. Renkon

    Multi-server

    Thanks
  4. Renkon

    Multi-server

    UP
  5. Renkon

    Multi-server

    I know I can, but what I don't know if what I said would happen
  6. Renkon

    Multi-server

    Got a doubt. Suppose I got two servers. In each server I've got the same script called 'couch potato'. In server one, couch potato creates a txt file. Will I be able to read it on second server?
  7. The guy above me is quite corcerned
  8. Probably not because LUA is not 'integrated' with SQL, hence no special functions. You are just able to use functions made by developers.
  9. As far as my SQL knowledge goes with SQL Server 2k8,what you might be able to do is to check 1:n relations and try using DELETE FROM's with their IDs. After thats done you can proceed to remove the one that has got the main identity and the primary key... 'cause as you know, you cannot remove the character, otherwise foreign keys would throw an exception.. In other words, hope this works (but not what you looking for) you can use WHERE a.id_blabla = w/e you need, or you c an use a stored procedure that would make what you want much more smaller and easier.
  10. You can use in order to restart every 15000ms (or any other time-difference) setTimer
  11. guiCreateStaticImage
  12. Actually, what you posted would go for everybody. I did realize he's using playerToReceive which is a resource and not a player. Simple solution would be to set that variable into a player
  13. Is the .PNG file created in the resource directory?
  14. Can you show me the structure of the k variable, please?
  15. aint no errors there
  16. addEventHandler ( "onClientGotImage", resourceRoot, Change to addEventHandler ( "onClientGotImage", root,
  17. Was the .PNG image created successfully?
  18. The code is very messy. As to make it clearer and easier-to-understand I'd made some modifications. Try this, I just removed the MARKER function as whenever a resource is started, the server reads everything so its not so needed (the onResourceStart event, I mean). Btw, your mistake is that DRINKS function is below the eventHandler, which will mean, when the eventHandler is created, drinks function will not exist as it wasn't read yet, so easier would be: theMarker3 = createMarker ( 497.24795532227,-75.805885314941,997.5578125, "cylinder", 1, 255, 105, 180, 170 ) setElementInterior ( theMarker3, 11 ) setElementInterior ( theMarker3, 11 ) function drinks(thePlayer) outputChatBox("tits") end addEventHandler ( "onMarkerHit", theMarker3, drinks ) Be sure to use debugscript 3 in order to see any mistake (you'd have realized an error would have been shown
  19. Renkon

    Forum "Ranks"

    go drunk, u home nestor kerner
  20. Because set is a method, not a var
  21. exactly!
  22. pass is a GUI Element.... you should use guiGetText(pass) in order to know the password. you are triggering the GUI element iself
  23. You can read the file by using fileRead and then trigger from the server to the client the read string. Finally use fileCreate to write it down
  24. No esperes que leamos todo el código.... Porque no te fijaste tu un poco leyendo todo el código? Tiene que ser algun dxDrawRectangle con un color tirando a gris (128, 128, 128, 100, 100, 100, 200, 200 ,200)
×
×
  • Create New...