Jump to content

_DrXenon

Members
  • Posts

    249
  • Joined

  • Last visited

Everything posted by _DrXenon

  1. • Added more media files. • Topic slightly updated.
  2. TOPIC UPDATED • Added some media files. • Added some update files. • Updated the resources spoiler That's it for now! Just stay tuned.
  3. Haha, I corrected the Logo but after correcting it I found out that the old one with misspelled san andreas looks cooler so I decided that I will upload it instead of the corrected one hoping no one will realize the mistake ?. @Investor Maybe delete your post and I delete mines so no one realizes?
  4. Rage Gaming Society is a multi-roam server that was and still underdevelopment since 2016. It was never published or officially launched yet but It will as soon as it is ready. The development team consists of only me currently but the process has not stopped and will continue in a stable pace. HOPEFULLY The server currently includes all of the main scripts needed in addition to some other secondary scripts that improve the game playing. But, It is yet - as I mentioned before - not ready to be launched because I am looking to launch it with high quality and with the least number of bugs and glitches so everyone can enjoy it from the beginning. - Resources -
  5. @D![G]Ao seems honest, Eventho I never heard or played that server. BUT, as a normal human, It is easy to detetmine that he is the one who used to own it since it's origin because he's so sure unlike the other guy who is giving uncertain dates and information.
  6. and those parameters change when you change the event of the function. (When there's an event called to directly trigger the function) One more thing, if the second argument or parameters is 'ammo' then it would always be 'ammo' no matter what you call it. So even if you called the second parameter 'killer', killer will be the 'ammo' parameter and not the 'killer' parameter. (Idk, how clear I was here.)
  7. local s = { q = executeSQLQuery } ... local all = s.q( "SELECT * FROM carslot1" ) ... for i = 1, #all do if all[i].PlayerName == playername then table.insert(ownedcars, all[i].Model) end end ... it should be something like this, Just make it fit in your script.
  8. I can help if you tell me more about this; Can more than one Model be saved for the same player? or each player can have one car only?
  9. executeSQLQuery("SELECT Model FROM carslot1 WHERE PlayerName=?",playerName)
  10. or just save the key on a third argument in every row in the table, that's easier, If the key really matters.
  11. the key isn't important since we got the value. Besides, I gave another example because I couldn't understand yours. max_val = 0, 'if v > max_val then' which means 'if v > 0 then' we have the max_val? I would like to know more how this works, If possible.
  12. or you can simply sort the table from biggest to smallest by; table.sort(table, function(a,b) return a.kill > b.kill end) and then, when you have the highest value on the top of the sorted table, You simply get the first row in this table and it will be the biggest.
  13. You can't suddenly script a DM panel when you have no experience at all, You'll have a long way before you can achieve what you want. through this way, You may even give up what you learned Lua for and start focusing on other stuff. In this case, If you really want a DM panel so badly, You will need to pay someone to help you out because you can't find a tutorial for everything you want. Or, learn MTA programming which is way too easy, step by step until you are good enough to achieve your main goal.
  14. _DrXenon

    help

    Ok, what is the problem here? Express more.
  15. ped.ifp and hud.txd can be modified by shaders while pedstats.dat can probably be modified using the ped functions. That all will only be working on your server. I mean, You can't and are not allowed to modify GTASA files of any client permanently or for all the servers.
  16. _DrXenon

    help

    what exactly you talking about? what weapons and why you cant use the other 2?
  17. I think you should update the topic name and content since this service was changed to top 14. And just to say, Top 14 isn't as attractive as top 7 and shouldn't also cost x2 of what top 7 used to cost, since almost only top 5 get the most attention and the lower we go the lower the attention therefore the lower the price should be for the lowest places.
  18. Lol dam, attaching trailers wasn't possible 8 years ago ;$$$$
  19. What you did above doesn't serve your purpose, It actually gives players weapons whenever they spawn with no weapon doesn't matter it was thier first or 20th time. You will need I think; function giveWeaponForOnce() local account = getPlayerAccount(source) if not getAccountData(account,"firstTime") then setAccountData(account,"firstTime",true) giveWeapon(source,22,15) end end addEventHandler("onPlayerSpawn",root,giveWeaponForOnce)
  20. well do this; function dxDrawDeathImage() ... dxDrawImage(...) ... end addEventHandler("onClientRender",root,dxDrawDeathImage) and then later to remove or destroy it; ... removeEventHandler("onClientRender",root,dxDrawDeathImage) ... Also, you don't need to define the dx image since it returns a bool to tell whether it was created or not and not an element that can be later destroyed.
  21. replace all the 'if's with 'elseif's and use only one end to end all the 'if' and the 'elseif's, another end for the function and a ')' to close '(' at line 1.
  22. @LopSided_ It doesn't make any sense but I believe I was right. Because the event onPlayerJoin is triggered whenever a player joins, at this point he has no resources started therefore this won't be working for him and when the resource starts it would be too late to trigger the event onPlayerJoin because the player did not just join. To sum up, and I'm not quite sure as I mentioned above, onPlayerJoin can be only triggered when the resource was already started, so for instance to use onPlayerJoin we trigger this event to affect an already exisiting player by the joining of another player while we can't affect the joining player.
  23. don't use onPlayerJoin event I guess. Try onClientResourceStart so this thing work whenever the resource starts instead whenever the player join. when the player joins this resource would not be loaded and therefore won't work I guess.
×
×
  • Create New...