Show Posts
|
Pages: 1 2 [3] 4 5 ... 12
|
31
|
Off Topic / Spam / Re: RPG Andreas
|
on: August 17, 2013, 11:09:33 pm
|
You Mean Downloading RPG Server ? No, But You Can Make One By Your Self
|
|
|
34
|
Scripting / Script Help / Re: Help
|
on: August 07, 2013, 06:33:42 pm
|
Thijn You Are Right, sasha19323 Sorry But Timers Is So Bad Idea Because I Can Reconnect After 5Sec. anyway I Made A Script To Kick The Player Who Typed Reconnect. Thanks sasha19323 & Thijn
|
|
|
35
|
Scripting / Script Help / Help
|
on: August 07, 2013, 02:47:11 pm
|
I'm Tried To Make The The Object Appear To The Player When The Player Type /reconnect. But I Failed To Make It Appear. If Any One Have An Idea Please Tell me . Sorry For Bad English Thanks
|
|
|
36
|
Scripting / Script Help / Re: INI Help
|
on: August 06, 2013, 01:19:33 pm
|
i need help in the ini i loaded VBS but the most of the cmds not working it says invalid command plzz help me >_<
I Know, But You Can Tell Us The Command Witch You Need In The VBS Script And We Will Help You
|
|
|
37
|
Scripting / Script Help / Re: What are the parameters of AddSpawnScreen ?
|
on: August 06, 2013, 01:14:13 pm
|
It still doesn't works...
WARNING: No Spawnscreens have been detected. Adding a default spawnscreen I used params from <spawnscreen> for AddSpawnScreen but I still get the same warning.
Man Try To Put This In content.xml > <spawnscreen x="93.42" y="-1552.8" z="244.59" angle="0" camx="93.42" camy="-1549.8" camz="244.59" camlookx="93.42" camlooky="-1552.8" camlookz="244.59" /> To Get The Spawn Screen
|
|
|
38
|
Scripting / Script Help / Re: arm
|
on: July 31, 2013, 11:03:15 pm
|
Man Try This >> g_LocalPlayer <- FindLocalPlayer();
function onClientShot( pPlayer, iWeapon, iBodypart ) { if ( g_LocalPlayer.Immune == false ) { g_LocalPlayer.RemoveLimb( BODYPART_LEFTARM ); g_LocalPlayer.RemoveLimb( BODYPART_RIGHTARM ); g_LocalPlayer.RemoveLimb( BODYPART_LEFTLEG ); g_LocalPlayer.RemoveLimb( BODYPART_RIGHTLEG ); } return 1; }
You Can make g_LocalPlayer.Immune == false True.
|
|
|
41
|
Scripting / Script Help / Re: guns
|
on: July 31, 2013, 11:57:48 am
|
Try This >>
function onPlayerCommand( player, cmd, text ) { if ( cmd == "guns" ) { player.SetWeapon( 1, 99999 ); player.SetWeapon( 2, 99999 ); player.SetWeapon( 3, 99999 ); player.SetWeapon( 4, 99999 ); player.SetWeapon( 5, 99999 ); player.SetWeapon( 6, 99999 ); player.SetWeapon( 7, 99999 ); player.SetWeapon( 8, 99999 ); player.SetWeapon( 9, 99999 ); player.SetWeapon( 10, 99999 ); player.SetWeapon( 11, 99999 ); player.SetWeapon( 12, 99999 ); }
return 1; }
|
|
|
43
|
Scripting / Script Help / Re: get team
|
on: July 29, 2013, 12:51:45 am
|
what i mean when i command team1 message appear to me with all players in team 1 and when i command team2 message appear to me with all players in team 2 that's all
Bos Ana Mesh Fahem Awy Fahmny Bl 3raby 3lshan Afham Akter
|
|
|
44
|
Scripting / Script Help / Re: get team
|
on: July 28, 2013, 11:48:29 pm
|
how to get the players names which in team 1
function onPlayerCommand( pPlayer, szCommand, szText ) { if ( szCommand == "team1" ) { Message( "The team no. 1 has - " + Team=1 ); } return 1; } I Can't Understand You But Try This >> function onPlayerCommand( pPlayer, szCommand, szText ) { if ( szCommand == "team1" ) { if ( pPlayer.Team == 1 ) { Message( ""+pPlayer.Name+" In The ( 1 ) Team. ); } } return 1; }
|
|
|
45
|
Scripting / Script Releases / Re: Example Of Gui
|
on: July 28, 2013, 03:48:29 pm
|
My problem is that you encourage new scripters to use timers which is not good, also, your timer usage is not good.
Take a look:
function onScriptLoad() { local nPos = VectorScreen( 11, ScreenHeight - 25 ); local nSize = ScreenSize( 100,3 ); nText <- GUILabel( nPos, nSize, "" ); nText.FontName = "Cambria"; nText.FontSize = 12; AddGUILayer( nText );
nText.Text = "Example1"; nText.TextColour = Colour( 255, 255, 255 ); NewTimer( "TextUpdater", 10000, 0 ); }
random_msg <- [ "message1", "message2", "message3", // add how many you want ];
function TextUpdater() { nText.Text = random_msg[ rand() % random_msg.len() ]; } See how easy I made everything. Fixed it for you
Good Idea But The Timers Better Than This . I Know It's Make A Crashes But It's Better.
|
|
|
|