Jump to content

esporta05

Members
  • Posts

    60
  • Joined

  • Last visited

Details

  • Gang
    NEG F.B.I

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

esporta05's Achievements

Snitch

Snitch (10/54)

0

Reputation

  1. I made script which is setting a animation on x event and x conditions. How can i stop that animation? I need to stop it after 3 seconds but i couldnt find a function for stopping it.
  2. There is no guisetvisible. U need it inordeer to hide & show it properly.
  3. I dont understand it. Can you please explain them with much easier examples? If you explain things step by step with lua bbcode that will be much more easier. If you can create a topic for this tutorial this will be much more better.
  4. Is it so hard do detect if the logged in player account name is contained in that table? Because I don't understand anything. I am just trying to detect if the logged in player is registered in that vips table. Btw there is no guest accounts on server. They are supposed to login in order to play server. Isn't it possible like this: vips = { "Anubhav", "esporta", "bilal", } local accname = getAccountName (source) if (accname == vips) then --script body end
  5. If the player account name is included in table, script will output you are vip if not script will output you aren't vip
  6. Okay i need to make a if statement to find if the player is in a specified table or not. Here is the script that I made. Is this ok? local vips = } [1]=”Anubhav”, [2]=”esporta”, } if (thePlayer == vips) then outPutChatBox ("You are vip", source) else outPutChatBox("You are not a vip", source) end end
  7. same issue at me too. Cant replace TXD files. There should be a bug.
  8. It is really hard to detect hit at tires but you can check this out; Set a timer or event for this function and make the tire state 0 all the time. https://wiki.multitheftauto.com/wiki/Ge ... heelStates Hope this could help you
  9. Hi all, Well there is a cool MYSQL tutorial for establishing connections but I can't find a tutorial for sending/retrieving datas from MYSQL database. If someone can make a tutorial for sending and receiving datas from database that will be really cool. Simple stuffs like sending a variable to there and outputting it. Just for teaching us how to send and receive data from MYSQL database
  10. Hit detection supposed to work just fine. There should be a problem with your money giving script. Also u don't need to define a command for calling money function. You can call the function without adding a event handler. Simply call it with "money()". Make your players feel comfortable if (source == paymarker) then -- since you are calling the function directly you wont need to output that message money() end Btw prefer to use lua bb code rather than Code bb code.
  11. Setting custom vehicle name is easy, just define a variable for them. Outputting it is easy too just check the vehicle id if it equals to the 31(infernos as far as i remember)output a message as "You enter in to the mini cooper" as a example but for me the most hardest part is deleting the original text from screen.
  12. You are supposed to use source to detect which marker you hit. This if statement supposed to detect the marker that you hit: if source == paymarker So your full function should be like this function payme() if (source == pay marker) then --The script that is going to run when the player hits to the marker end end
  13. direk server ip yazıp girebiliyormusun?
×
×
  • Create New...