Show Posts
|
Pages: 1 [2] 3
|
18
|
Scripting / Script Help / Re: Help
|
on: November 14, 2013, 08:29:01 pm
|
ensure not work that way, do not put GetPlayers() because I see that I do not work function onScriptLoad() { // Start local Pos = VectorScreen( ScreenWidth - 148, ScreenHeight - 348 ); local Size = ScreenSize( 130, 208 );
local Text0Pos = VectorScreen( 5, 5 ); local TextSize = ScreenSize( 100, 10 ); Window <- GUIWindow( Pos, Size, "Kings Of The Server" ); Text0 <- GUILabel( Text0Pos, TextSize, "" ); Text0.FontName = "Verdana"; Text0.FontSize = 10; Window.Colour = Colour(10, 10, 10); Window.Alpha = 150; Text0.TextColour = Colour( 255, 255, 255 ); AddGUILayer( Window ); Window.AddChild( Text0 ); // End }
function onClientRender() { local x = 0; local total = 30; while ( x < total ) { local plr = FindLocalPlayer( x ); if(plr) { if ( plr.Score >= 500 ) { Text0.Text = "*System* " + plr.Name + " >> [ King ]."; } } x++; } }
|
|
|
21
|
Scripting / Script Help / pos
|
on: April 13, 2013, 01:27:05 am
|
please help to put this spree, in this position Pos = Vector( -1565.5, -951.9, 11.01 ) function onPlayerCommand( pPlayer, szCommand, szText ) { if ( szCommand == "spre" ) { CreateSphere( pPlayer.Pos, 5.00, Colour( 0, 0, 255 ) ); } return 1; }
|
|
|
22
|
Scripting / Script Help / Re: Any one can give me animation script? I want, send me link download!
|
on: April 13, 2013, 12:31:58 am
|
As I understood you want to / anim (id)
function onPlayerCommand( pPlayer, szCommand, szText ) { if ( szCommand == "anim" ) { if ( szText ) { local pTemp = split( szText, " " ), ID = 89; if ( IsNum( pTemp[ 0 ] ) ) ID = pTemp[ 0 ].tointeger(); if ( (ID == 1) ) { MessagePlayer( "[#ff0000]*Error*[#ffff00] - Este anim Esta Baneado Del Server", pPlayer, 255, 0, 0 ); } else if ( ( ID >= 2 ) && ( ID <= 89 ) ) { pPlayer.SetAnim( szText.tointeger() ); MessagePlayer( "**Su Animacion ha sido activada** ", pPlayer, Colour( 0, 255, 0 ) ); } } } } function GetPlayer( target ) { target = target.tostring(); if ( IsNum( target ) ) { target = target.tointeger(); if ( FindPlayer( target ) ) return FindPlayer( target ); else return null; } else if ( FindPlayer( target ) ) return FindPlayer( target ); else return null; }
|
|
|
27
|
Scripting / Script Help / weapons
|
on: February 04, 2013, 08:55:12 pm
|
Please know too much trouble but someone can come spend a script if all weapons apologize for my English
|
|
|
29
|
Scripting / Script Help / sound
|
on: January 27, 2013, 06:43:01 pm
|
hi guys please help I need a script to start the game when I leave I want sound please help
|
|
|
30
|
Scripting / Script Help / ayuda como hacerme admin de mi server
|
on: January 19, 2013, 09:51:32 pm
|
Hola amigos hasta ahora no he visto que comenten en español a si que me ha sido muy duro llegar hasta donde estoy ahora. Tengo un problema miren ya tengo creando el server todo en español pero no puedo ponerles el comando de admin quiero ese comando para hacerme admin de mi server y las lineas de codigo me cuesta mucho trabajo acerlas
|
|
|
|