Jump to content

Lordy

Members
  • Posts

    290
  • Joined

  • Last visited

Everything posted by Lordy

  1. I'm using a cookie system for this.. It's done via xml saved to client side, maybe I should put it to community resources...
  2. Added some others and just for showing off..
  3. How's this for a colt45.. Which leads me to a question, do you want more detailed (as the colt) or less detailed (as my AK)? I based it on http://www.rc-trucks.org/Colt-45.jpg EDIT: I now know that you don't need those anymore, so I'll just post for showing off
  4. Hmm.. would this suffice as a grenade? I don't know what colours to put, but generally I could recolor it if that's wrong.. Edit: And an AK.. Tell me what you think, is this style good? Edit2: small update on ak
  5. Lordy

    Buttons...

    You first trigger Server event like this, which is right triggerServerEvent ("checkValidAct",localPlayer,localPlayerName) --Check if they have an account to log in to... But then you trigger it with source being root element triggerServerEvent("SubmitLogin",localRootElement,guiGetText(edtUser),guiGetText(edtPass)) When the source is root element (not the localplayer), then the source here if (tryToLog) then outputChatBox(welcomeMessageReturningUser,client) triggerClientEvent(source,"clientLoginSuccess",getRootElement()) else triggerClientEvent(source,"clientDisplayArea",getRootElement(),"Incorrect password, please try again.") triggerClientEvent(source,"clientWrongPassword",getRootElement()) end is also root element, as the event you triggered called this function.. So it triggers this client side event for all clients. What you have to do is change triggerServerEvent("SubmitLogin",localRootElement,guiGetText(edtUser),guiGetText(edtPass)) into triggerServerEvent("SubmitLogin",localPlayer,guiGetText(edtUser),guiGetText(edtPass)) And that for all the triggerServerEvents that you use there.. If you want the source to be the local player Makes more sense?
  6. So is your code client side or server side If it's client side, then outputChatBox doesn't have visibleTo argument. And what does debugscript tell?
  7. Yes.. But it isn't very hard to use the button.. It also has the _ button.. So I can see no worries.. If windowed, then it's possible to minimise
  8. btw, I don't know how/why, but I can also minimise when I'm in windowed mode and just press on the MTA bar at taskbar. Just like any other windows.. I guess that must be a bug then?
  9. Nevermind that more efficent would be to just deny the minigun/rockets etc. So a player can still get a spraycan if he wants to
  10. Lordy

    Zombie Pedestrians

    You ever played Zombie Panic Source? It starts with one zombie and lots of survivals ;P Eventually (usually) the zombies win
  11. What do you mean by "handle them individually"? And for start/stop, you can destroy the elements when stop and reload the map at start I think (but don't trust me )
  12. if u add a command handler I think it should be only one word.. like "createvehilce" ont create vehilce or jet pack.. I strongly suggest you search wiki for weapons for example.. You would find a function giveWeapon () (or sth like that). And for weapon pickups, there is createPickup (). Spawning is done by spawnPlayer, anyway take a close look to the scripting introduction tutorial because all basics are written there, even if you don't want to get the same result as there, you get the general picture better.
  13. Does that mean that the others will get to know of the bomb only when it has already hit them? That kinda... isn't very ok. imo.. But else, what a nice useful snippet.. Maybe I should too learn LUA one eday
  14. Just play the SAES server and follow the rules/force other to follow the rules and you have like THAT amount of fun .. Especially I like when I'm cop and the order an admin to pull over..
  15. When it doesn't speed up, maybe use rustler then
  16. Roleplaying.. namely SAES RPG server
×
×
  • Create New...