Jump to content

Senze

Members
  • Posts

    43
  • Joined

  • Last visited

Posts posted by Senze

  1. what you mean karlis?

    if created a export function by my Resource where is a Variable Located which represent if the Radar ist Showing or not but i Dont know where I paste it in the customblip resource.

    My goal would be if the radar is hidden (showPlayerHudComponent = false) the customblips would hidden on the Radar to but i dont know where I could paste my exported function.

    GreeZe

  2. Hey Guys,

    I've got a little Proble since 1.1 with my Gui's.

    I Know there is a new Event (new Events) for this but i don't know how to use it =(

    The Problem is, if I click outsite of an botton, an editbox, an Memo or Something else, to the Window which the Button or other GUI element is a part from, the Bottons aren't clickable anymore or the editboxes won't be able to edit.

    I hope someone knows what I mean and I would be happy about an answer.

    GreeZe from Germany

    SenZe

  3. Hey Guys there is a command i think its integrated in MTASA

    the command is known as "/me arg1 agr2 arg3 ..." and its in use to talk with other players but the problem there are chatlimits to my script but the command will talk to alle an ignored the chatlimits

    i have no ideas to "turn off" thne command the one i think is to canel it in "onPlayerChat" but how?

    Someone can Help me Plz :)

    Nice Greeze

    SenZe

  4. Hey Guys i've got a litte Problem

    since a short pariot of time I get this error:

    attempt to call a table value
    

    but there is no errorline in the console an later it will followed with the following error

    attempt to call string Value
    

    to debug this so i dont know how to fix this problem

    anyone know's what this error means?

    thanks a lot

  5. hey Guys

    I have to start a new part in my script to flood from time to time the city

    but now there is the problem i've take the maxlimites from san andreas in my createWater so now is the problem the SFPD garage is under water and some other to someone knows how to fix that?

    or is there another way to bypass this problem?

  6. so thank you but i have to try something other and it will work to =)

    i create i timer with o local variable and put it into a elementdata (from the current vehicle)

    if the player would take of the engine i get the elemtn data and kill the timer so it works =)

  7. Hey Guys today i started to create a fuel system but so I have one problem the fuel doesn't stop if the player left the car so the fuel only have to stop if the player set the enginestate of the vehicle to false

    And have to start drain the fule in the vehicle if the player is start the engine (toggle enginestate to true).

    If he forgoten to toggle the enginestate to "false" it will drain more and more

    so how can i handler this? create timer for all cars i think this sucks =/

    so plz help me =(

  8. hey guys Today i start to create a nice weather script with the function setWeatherblended a long time ago the function works great but now?! nothing is happen

    is it possible that this crash the function?

    function RealTime()
    local realtime = getRealTime()
    local hour = realtime.hour
    local minute = realtime.minute
     
    setTime(hour, minute)
    setMinuteDuration(60000)
    end
    

    if you have some idea it would nice you talk to me because its will a little bit ugly if this nice func wont able with the function I post

  9. thx rob after you post i try it with assoc and the example from the wiki and so ..

    it works =)

    so thank you =)

    if(not admin_query)then
    outputDebugString("Unegueltige Query Aufuehrung!")
    else
    outputDebugString("Gueltige Query Aufuehrung!")
     
    for k, row in mysql_rows_assoc(admin_query) do
    if (row["Admin"] == mysql_null()) then
    else
    setElementData(source, "Admin", tonumber(row["Admin"]))	
    end
    end
    end
    		mysql_free_result(admin_query)
    

  10. no i know this is stupid but is was 3 am xD

    so no i want to store the value Admin from a specific player from my table players

    and put this value to a players element data because its much easier later to use getElementData for check if the player is an admin

    but i dont know how to handle this =/ its will be cool if you or another on can help me =)

  11. Hey Guys I ve got a problem with mysql so the problem is i want to but a value named admin from a player to setelementdata but how i can do this

    i try this

    local admin_query = mysql_query(connectHandler, "SELECT Admin FROM players")
     
    if(not admin_query)then
    outputDebugString("Unegueltige Query Aufuehrung!")
    else
    outputDebugString("Gueltige Query Aufuehrung!")
    setElementData(source, "Admin", tostring(admin_query))
     
    end
    		mysql_free_result(admin_query)
    

    but nothing is happen =(

    i hope you can help me :>

  12. Hey Guys so ive got a new problem i wont to start to write my script in sql so the problem when i create a table where is there if i restart the resource i looks like the tables dindt exsists because the console give the "creating new DB table" again and again anybody now this?

    i need a litte bit help plz =/

×
×
  • Create New...