Jump to content

Teqskater

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by Teqskater

  1. Uh? your that guy who made this in SA-MP right? Cool that you continue here. keep it up.
  2. Uh? your that guy who made this in SA-MP right? Cool that you continue here. keep it up.
  3. i want to count the number of accounts and get specific values from those accounts. wich funtions should i need for it?
  4. i want to count the number of accounts and get specific values from those accounts. wich funtions should i need for it?
  5. The image won't display. code used: x = 0.07 y = 0.07 breedte = 0.68 hoogte = 0.96 status = guiCreateStaticImage(x, y, breedte, hoogte, "client\player_skins\0.png", true, registratiescherm) some translations: breedte means is dutch for width hoogte means is dutch for height and registratiescherm is dutch for registrationscreen meta.xml: <meta> <info author="Teqskater" type="gamemode" name="Teqskater's Server" description="Scripting Practice Server" /> <script src="server\gamemode.lua" type = "server"/> <script src="client\gui.lua" type = "client"/> <file src="client\player_skins\0.png" /> etc... The resource's foldername = Teqserv in folder Teqserv are 2 folders named client and server in the folder client is another folder with the name player_skins in that folder are player skin images and there is an image file 0.png and more image files. What's wrong? EDIT#1: it only works for me right now when i use this code: code: <file src="0.png" /> meta.xml: <file src="0.png" /> and ofcourse the image '0.png' in the root folder. can't it be done like i tryed in the first method?
  6. The image won't display. code used: x = 0.07y = 0.07breedte = 0.68hoogte = 0.96status = guiCreateStaticImage(x, y, breedte, hoogte, "client\player_skins\0.png", true, registratiescherm) some translations: breedte means is dutch for width hoogte means is dutch for height and registratiescherm is dutch for registrationscreen meta.xml: etc... The resource's foldername = Teqserv in folder Teqserv are 2 folders named client and server in the folder client is another folder with the name player_skins in that folder are player skin images and there is an image file 0.png and more image files. What's wrong? EDIT#1: it only works for me right now when i use this code: code: meta.xml: and ofcourse the image '0.png' in the root folder. can't it be done like i tryed in the first method?
  7. That was exactly what i was searching for.
  8. That was exactly what i was searching for.
  9. yeah it should but it doesnt. i gonna do some research on it. it must be that im doing something wrong i think. but i just can't see it. anyways: thanks for the answers
  10. yeah it should but it doesnt. i gonna do some research on it. it must be that im doing something wrong i think. but i just can't see it. anyways: thanks for the answers
  11. i found the problem i think but not the solution: when i use your example it works. but i want to display text to one user only. so i replace getRootElement() with speler in my case. speler is the element for the player thats the message meant for. so when i replaced it it doesnt work anymore. is this just al limitation or what. i think so.
  12. i found the problem i think but not the solution: when i use your example it works. but i want to display text to one user only. so i replace getRootElement() with speler in my case. speler is the element for the player thats the message meant for. so when i replaced it it doesnt work anymore. is this just al limitation or what. i think so.
  13. foutrood = "#FF0000" outputChatBox(foutrood.."Het voertuig kon niet worden gemaakt.", speler, 255, 255, 255, true) any ideas wy this wont display the RED color ive setted in the variable foutrood? EDIT: I have another question: How do you count the entrys in a table and store it in a variable
  14. foutrood = "#FF0000" outputChatBox(foutrood.."Het voertuig kon niet worden gemaakt.", speler, 255, 255, 255, true) any ideas wy this wont display the RED color ive setted in the variable foutrood? EDIT: I have another question: How do you count the entrys in a table and store it in a variable
  15. when i use: logIn(client, username, tostring(password)) it says: WARNING: gamemode.lua: Bad argument @ 'logIn' - Line: 9 can sombody help me with this. I am very sure that the variables username and password are filled with a username and password. what do i do wrong. Im new here and i've done all the tutorials on the wiki and read everything i needed to read. im not new to LUA. i just don't know how to debug this completely. Thanks in advance! EDIT: Problem solved. i needed to use it like this: local account = getAccount(username, password) if account ~= false then logIn(client, account, password) end
  16. when i use: logIn(client, username, tostring(password)) it says: WARNING: gamemode.lua: Bad argument @ 'logIn' - Line: 9 can sombody help me with this. I am very sure that the variables username and password are filled with a username and password. what do i do wrong. Im new here and i've done all the tutorials on the wiki and read everything i needed to read. im not new to LUA. i just don't know how to debug this completely. Thanks in advance! EDIT: Problem solved. i needed to use it like this: local account = getAccount(username, password)if account ~= false then logIn(client, account, password)end
  17. Teqskater

    Show rules

    Hello there. i have created a gui window where i want to show multiple lines of text and it needs to be scrollable because i cant get all the text in the window at once. i played around with guiCreateScrollBar and guiCreateScrollPane but i can't achieve my goal. can somebody get me started. I also searched and i coulnd find what i needed.
  18. Hello there. i have created a gui window where i want to show multiple lines of text and it needs to be scrollable because i cant get all the text in the window at once. i played around with guiCreateScrollBar and guiCreateScrollPane but i can't achieve my goal. can somebody get me started. I also searched and i coulnd find what i needed.
  19. Ive read another topic but i dont realy understand what's going on. Can't i use them in my scripts or what? i jumped of a building with one in my server but it didnt work, just SPLAT, Wasted. would be nice if it did work.
  20. Ive read another topic but i dont realy understand what's going on. Can't i use them in my scripts or what? i jumped of a building with one in my server but it didnt work, just SPLAT, Wasted. would be nice if it did work.
×
×
  • Create New...