Jump to content

Anderl

Members
  • Posts

    2,266
  • Joined

  • Last visited

Everything posted by Anderl

  1. Another thing is: Windows Vista has maximum ranking for RAM set to 5.9, so if you're using that OS, it won't get past 5.9.
  2. When you say hosting a server doesn't necessarely mean you put your server in someone's server ( e.g. a company ) to be 24 hours on. Hosting a server with a company is the same as hosting the server with your own PC, but you don't need to keep your computer on the whole time. So, if you're hosting the server in someone else's server, you obviously don't need the computer started because it isn't in your PC, but in a server which can be a virtual server or in a real machine ( virtual servers are in a real machine, but I mean starting the server directly from the real machine ).
  3. First thing I thought was that you stole "Republic of Gamers" name from Asus, but then I saw it was "Revolution of Gaming". The topic doesn't have a very good presentation, but let's see how it goes.
  4. Are you aware that x86 architecture operation systems don't support more than 3,5GB of RAM? Which OS are you using, by the way?
  5. I didn't say someone would not help you, but it's rare - no one is going to waste his time teaching a whole language to someone. You might have luck, though.
  6. Well, I never used MTA Paradise so I don't know how ban system works, sorry.
  7. That won't work if the gamemode has its own ban system.
  8. Just giving my opinion, you won't get much by asking such thing.
  9. Are both systems using the same OS ( version and architecture )? Which OS is it? Are you sure both RAMs are at the same speed?
  10. He is not making a server, he's trying to create another game servers hosting "company" ( it really isn't a company ).
  11. I doubt anyone is going to waste his time to teach you a whole language. Get some more knowledge about computers and programming logic and understand what is written on the Wikis ( not simply read them, that'll do nothing ).
  12. You could have waited a little more to get more money for a better GPU because CPU is bottlenecking a lil the GPU and since you are going to upgrade the whole PC ( except graphics card which you already have ) you would have a more balanced config ( unless you are thinking in a Core i3 ). Though, it's just an opinion and this topic isn't made for giving opinions about why others did buy something or not
  13. Please reade the replys before replying, this has been solved, and thats not what he wanted Did I say it was for him? It was the fixed code of these three guys that tried to give him an example.
  14. Record 3 script tries from different people and still none is right lol if ( getTeamFromName ( "Criminal" ) ~= getPlayerTeam( PLAYER_ELEMENT ) ) then outputChatBox ( "You aren't a criminal!", 0, 250, 0 ); end This, if it's in the client side.
  15. Anderl

    Acl events ^^

    Yeah, you can do wrappers for the functions so that they call events (basically, this is what myonlake said).
  16. If that was for me, I'm using latest Mozilla Firefox.
  17. Anderl

    help

    My code wasn't made for you to come here and copy + paste in your resource. It's an example of how to do that, and you need to script everything by yourself. That example is to explain you how to do it, just that. @Mr.Pres[T]ege, your example is much harder/slower to write than mine, and I'd not recommend using too much element data.
  18. Anderl

    Acl events ^^

    That's not what I meant. __aclGroupAddObject = aclGroupAddObject; function aclGroupAddObject ( ... ) if ( __aclGroupAddObject ( ... ) ) then triggerEvent ( "onACLGroupObjectAdd", root, ... ); return true end return false end Just make a resource for things you will use in multiple other resources and export them.
  19. You should either store "lower" method's result in "message" again or use it directly in outputChatBox. As already said, you're only calling a method which returns the string with lower characters, it doesn't store the new value in the variable.
  20. Anderl

    help

    That will take ages to write if you have much gamemodes. Easier way will be to use element data "gm" or "mode" ( whatever you want ) which stores a string/number or any other thing that represents each gamemode and use events to show things for a specific guy. Example: --For getting player gamemode ( idea from NPG ): local gamemodes = { [1] = "Play", [2] = "Fallout", [3] = "Race" } --will return mode number ( shown in array as indexes ) or 0 if arguments are invalid function getPlayerGamemode ( player ) if ( isElement ( player ) and getElementType ( player ) == 'player' ) then return getElementData ( player, "mode" ); end return 0 end --will return true if player gamemode was set sucessfully, false otherwise function setPlayerGamemode ( player, mode ) if ( ( isElement ( player ) and getElementType ( player ) == 'player' ) and ( type ( mode ) == 'number' ) ) then return setElementData ( player, "mode", mode ); end end --For gamemode start: --Call the above function to set player element data "mode" and then add the event and a handler for it in a core resource and in the function of the event check if the mode exists, if it does, set player element data "mode" to the new mode. You should then add "onPlayerGamemodeJoin" / "onClientPlayerGamemodeJoin" in your gamemode resource and check if the player ( can be source, if you specify it in trigger functions ) is the local player addEvent ( "onPlayerGamemodeJoin", true ); addEventHandler ( "onPlayerGamemodeJoin", root, function ( mode ) for k,v in ipairs ( getElementsByType ( "player" ) ) do if ( v == source ) then if ( mode == thisModeID ) then --load things for source end end end end ) --NOTE: firstly you should set element data "mode" to 0 when players joins the server, --when the player joins a gamemode u set his element data to the mode he just entered Hope you understand what I tried to explain above, didn't know exactly how to say it.
  21. It's pretty much the same as GUI images. As for examples, they're on respective functions wiki pages.
  22. Anderl

    ffs script

    Exactly what CapY said. This guy just added me some time ago too asking me to make copies of FFS and TG.
  23. If you can get it from a website, why do you need to save it? It's much easier to get picture pixels from an URL.
×
×
  • Create New...