Show Posts
|
Pages: [1] 2
|
3
|
Scripting / Scripting Discussion / Music on Spawn (Script)
|
on: April 12, 2011, 08:42:43 pm
|
Shnurok and I, as an assistant, developed a script that plays music when player spawn.
Here it is:
function onScriptLoad() { spawn_Sound <- null; }
function onClientSpawn( player ) { if ( !spawn_Sound ) { spawn_Sound = FindSound( "mysound.mp3" ); if ( spawn_Sound ) { spawn_Sound.Open(); spawn_Sound.Play(); } } else { spawn_Sound.Play(); } }
|
|
|
7
|
News and Content / Updates/Changes / Re: Update 0.1.0.9 (11/04/2011)
|
on: April 12, 2011, 02:04:09 am
|
Nice work man! But you have an error. In the cyrillic 33 letters, but now work only 31. Didn't work [you] and [ya] letters. [ya] - mean "I". So it is problematic to express themselves. + Chat open when i push english "T" and for that I constantly have to change the keyboard layout. I hope you find convenient solution! Good luck!
|
|
|
8
|
Liberty Unleashed / Support / What happened?
|
on: April 11, 2011, 10:24:47 pm
|
My server shuting down every time. Also i don't see any other servers in client list. What the update was that? What happened guys???
|
|
|
12
|
Liberty Unleashed / Bug Reports / Wrong id in wiki
|
on: March 23, 2011, 07:39:48 pm
|
I found error in wiki or maybe my game see that object under thats id.
Objects id -> 828 = stairs from Chinatown el-train platform
828 - it is very big building.
Maybe you'll check this?
|
|
|
13
|
Scripting / Script Help / Re: Firefighters mission
|
on: March 23, 2011, 04:15:00 pm
|
Where did you get the functions RemoveBlip and RemoveFire? Since those aren't LU functions I'm guessing theyre your own, and to fix the problem it would be useful to see them as well.
While you can do so with the disappearance of the fire, the icon disappeared and the mission would be considered completed? What need command?
|
|
|
14
|
Scripting / Script Help / Firefighters mission
|
on: March 23, 2011, 05:25:13 am
|
I would like to create a semblance of missions for the firefighters. Beginning of the script works. Activation of the script begins with the sphere.
function onPlayerEnterSphere( pPlayer, sphere ) { if ( sphere.ID == 9 ) { BigMessage( pPlayer"~r~fight with fire!!!", 6000, 2 ); CreateExplosion( 1141.2, -64, 7.47, 5 ); CreateExplosion( 1141.2, -68, 7.47, 5 ); CreateBlip(BLIP_NONE, 1141.2, -68, 7.47); CreateFire( 1141.2, -68, 7.47, 15.0 );
But when I add this part, the game crashes.
else if ( ExtinguishFire( 1141.2, -68, 7.47, 15.0 ) ); { RemoveBlip(BLIP_NONE, 1141.2, -68, 7.47); RemoveFire( 1141.2, -68, 7.47, 15.0 ); pPlayer.Cash = pPlayer.Cash + 200; } } return 1; }
What is my mistake?
|
|
|
15
|
Scripting / Script Help / Re: Like Patriot playground...
|
on: March 23, 2011, 04:17:46 am
|
where the need is to insert?..................................... [/quote]
Oh, I knew you must have created the project for scholars of nuclear physicists. Or post-graduate mathematical schools. In this case, I understand your reluctance to help.
|
|
|
|