Show Posts
|
Pages: 1 [2] 3 4 ... 7
|
18
|
Servers / General Server Chat / Re: Help
|
on: March 24, 2013, 10:12:00 pm
|
oh, thank you very much, helped me a lot, but I think I have to have the Original GTA 3.
Whats the difference? You are running a server, not a client (wtf)
|
|
|
21
|
Liberty Unleashed / Liberty Unleashed Chat / Re: Promotion LU: part one
|
on: March 16, 2013, 07:03:42 am
|
I'm not trusted because they asked a question on their private forums, and I replied "Hi" as a joke.
I actually had some decent scripting lined up for the project, but I was the only one doing anything and I never uploaded because neither of the two other scripters had any interest.
I am a witness, I saw it
|
|
|
23
|
Scripting / Script Snippets / Re: [SQ3.0.2] Bunch of useful snippets
|
on: March 15, 2013, 05:50:45 pm
|
Return full time in array
function GetTimeTable() { timestamptable <- array(5,0); local time = GetFullTime().tostring(); timestamptable[0] = time.slice(0,3); timestamptable[1] = time.slice(4,7); timestamptable[2] = time.slice(8,10); timestamptable[3] = time.slice(11,19); timestamptable[4] = time.slice(20,24); return timestamptable; } How to use it: GetTimeTable()[id], id can be 0,1,2,3,4 but not higher or lower. 0 returns day in 3 letters, 1 returns month in 3 letters, 2 returns day number in 1 integer, 3 returns the time in 8 characters, 4 returns year in 1 integer.
I use GetFullTime() always, but not in that way, I use this local t = GetFullTime(), clock = GetTok( t, " ", 4 ), hour = GetTok( clock, ":", 1 ), minute = GetTok( clock, ":", 2 );
what is your opinion about my method?
|
|
|
24
|
Liberty Unleashed / Support / Re: Vehicle Respawn Time
|
on: March 15, 2013, 05:49:01 pm
|
So I use 2147483?
I also tried using 0, and the vehicle made a quick respawn (note that the vehicle was vh.OneTime = true;) and stayed like that for a while (I don't know if it dissapeared or not after that)
|
|
|
26
|
Liberty Unleashed / Support / Vehicle Respawn Time
|
on: March 15, 2013, 05:56:04 am
|
Hello LU Community
As you see in the title, the vehicle respawn time is very useful depending on the server, and I present you the next problem I have
This configuration line:
vehicle_idle_respawn_time 250 makes the vehicles respawn after unused for a while. How can you guys make so the vehicles stay on the same spot until the server stops (infinite)?
Thanks and happy killing
|
|
|
27
|
Scripting / Script Help / Re: Save the player's Weapons
|
on: March 15, 2013, 04:38:48 am
|
You can't save all weapons a player is holding easily at the moment. You can however get the current weapon and ammo. So in theory you could save the weapons every time a player get's a weapon or uses one.
Surely this isn't a great solution, and a function that returns the weapon in a specific slot would be better..
So, what do you guys reccomend me?
|
|
|
28
|
Off Topic / General Chat / [ES][EN]English translator...
|
on: March 13, 2013, 06:30:18 pm
|
[ES] He visto a varias personas preguntando aqui cosas pero no saben inglés, por lo que usasn Google Translator. Nótese que los regionalismos que hay (quilombo, desmadre, pibe, etc) y las faltas de ortografía no son reemplazadas por el traductor. Podrían postear en español (nadie ha dicho lo contrario), pero es mas probable que te resuelvan un problema si lo posteas en el idioma por defecto del sitio Es por eso que me ofrezco ser el traductor Inglés - Español del foro Como usar mis servicios: Mandenme un PM con el post que desean poner (en español), y yo respondere a ese mensaje con el post traducido al inglés, para que ustedes lo puedan postear.
Este servicio será gratuito, y si logra tener mucha demanda, se tomarán medidas adicionales.
[EN] I've seen some people asking things in this forums but they don't know a bit of english, so they use Google Translator. Note that the regionalisms (quilombo, desmadre, pibe, etc) and spelling mistakes are not replaced by the translator. They could post in spanish (nobody said you can't), but it is more likely that your problem solves if it's posted in the default forum language. That's why I'm offering to be the Spanish - English forum translator. How to use my services: Send me a PM with the message you are going to post (in spanish), and I will reply to that PM with the post translated to english, so you can post it.
This service will be free, and if it grows, aditional things will be added.
|
|
|
30
|
Scripting / Script Help / Save the player's Weapons
|
on: March 13, 2013, 12:05:47 am
|
Hello Community I'm here to ask for help because I don't know what to do: I am trying to save the player's weapons on disconnection, but I don't seem to figure out how to read the ammo of the weapons the player has. The function that partially solves this problem is Player.WeaponAmmo, but I need to read all weapon's ammo, not just only the one that the player is holding... Thank you in advance and happy killing
|
|
|
|