Show Posts
|
Pages: [1] 2 3
|
1
|
Scripting / Script Help / Correct Command Check
|
on: June 26, 2014, 01:04:46 pm
|
Anyone Could Help Me I am Trying To Get A Correct Command Or Incorrect Command Script
function onPlayerCommand( pPlayer, szCommand, szText ) { if ( szCommand == "info" || szCommand == "wanted" || szCommand == "setteam1" || szCommand == "setteam2" || szCommand == "team1" || szCommand == "team2" || szCommand == "spawn" || szCommand == "get200" || szCommand == "pr" || szCommand == "freeze" || szCommand == "wantof" || szCommand == "unfreeze" || szCommand == "mute" || szCommand == "unmute" || szCommand == "setwant1" || szCommand == "setwant2" || szCommand == "setwant3" || szCommand == "setwant4" || szCommand == "setwant5" || szCommand == "setwant6" || szCommand == "setwant0" || szCommand == "1" || szCommand == "mos1" || szCommand == "mos2" || szCommand == "amro1" || szCommand == "amro2" || szCommand == "2" || szCommand == "vehlist" || szCommand == "garages" || szCommand == "srl" || szCommand == "srr" || szCommand == "sfl" || szCommand == "sfr" || szCommand == "exp" || szCommand == "taxion" || szCommand == "taxioff" || szCommand == "open" || szCommand == "close" || szCommand == "busy" || szCommand == "online" || szCommand == "vehghoston" || szCommand == "ghoston" || szCommand == "vehghostoff" || szCommand == "ghostoff" || szCommand == "send" || szCommand == "b+" || szCommand == "bank+" || szCommand == "wire" || szCommand == "sp" || szCommand == "st" || szCommand == "spawnscreen" || szCommand == "addon1" || szCommand == "addon2" || szCommand == "addon3" || szCommand == "want1" || szCommand == "want2" || szCommand == "want3" || szCommand == "want4" || szCommand == "want5" || szCommand == "want6" || szCommand == "saveloc" || szCommand == "gotoloc" || szCommand == "out" || szCommand == "cash" || szCommand == "my+" || szCommand == "bank" || szCommand == "login" || szCommand == "register" || szCommand == "autologin" || szCommand == "logout" || szCommand == "skin" || szCommand == "score" || szCommand == "sc1" || szCommand == "cmds" || szCommand == "mycmds" || szCommand == "stop" || szCommand == "start" || szCommand == "/" || szCommand == "aeroport" || szCommand == "airport" || szCommand == "parc" || szCommand == "rep" || szCommand == "admins" || szCommand == "ann" || szCommand == "l1" || szCommand == "l2" || szCommand == "lock" || szCommand == "lock1" || szCommand == "lock2" || szCommand == "wep" || szCommand == "heal" || szCommand == "arm" || szCommand == "msg" || szCommand == "veh" || szCommand == "mypos" || szCommand == "goto" || szCommand == "speedo" || szCommand == "nogoto" || szCommand == "blipon" || szCommand == "blipoff" || szCommand == "col1" || szCommand == "col2" || szCommand == "anim" || szCommand == "msgs" || szCommand == "kick" || szCommand == "ban" || szCommand == "sun" || szCommand == "fog" || szCommand == "cloud" || szCommand == "storm" || szCommand == "rain" || szCommand == "stm" || szCommand == "se" || szCommand == "wea" ) { MessagePlayer( "Correct Command", pPlayer, Colour( 0, 255, 0 ) ) } else { MessagePlayer( "Invalid Command Type /cmds or ask for help", pPlayer, Colour( 255, 0, 0 ) ) } return 1; } I've Made This But It's Too Hard To Write Every Command On My Server Any Suggestions.................
ThNx In Advance
|
|
|
2
|
Liberty Unleashed / Liberty Unleashed Chat / Re: Vrocker-Hosting.co.uk
|
on: June 26, 2014, 02:47:40 am
|
1) Like what method? Paypal is the most used one and available in a lot of countries. 2) Make sure announce is set to yes in your server.conf. Also, make sure your server is accessible from your external IP. You can use this little page to check if it is: http://thijn.minelord.com/lu/
I've Done What You Said And It Is Announced But No Hope Still Not Appearing In Servers List
|
|
|
3
|
Liberty Unleashed / Liberty Unleashed Chat / Vrocker-Hosting.co.uk
|
on: June 25, 2014, 02:10:13 pm
|
I Have To Questions
1) Is There Is Any Website That Supports Uploading LU Servers And Have Another Payment Method Than Paypal.......................................
2) How To Make My Server Appear In The Servers List On LU Client After Forwarding My Port And It's Being Accessed Only When Entering The IP Address In Favourite Textbox................
Thnx 2 All In Advance
|
|
|
6
|
Servers / Advertise your server! / Re: Ahmed Abouelnas Server
|
on: August 06, 2013, 12:09:23 am
|
Soon My Server Won't Be Online So If Anyone Have Any Advises plz send it
and i checked many sites about forwarding ports
so i can share my ip address so you can connect on it
like that 62.150.232.44:2305
thnx
|
|
|
7
|
Scripting / Script Help / Re: arm
|
on: July 31, 2013, 07:30:15 pm
|
See There ARE Left Arm And Right Arm if left arm here is its script
g_LocalPlayer <- FindLocalPlayer();
function onClientShot( pPlayer, iWeapon, iBodypart ) { if ( ( iBodypart == BODYPART_LEFTARM ) && ( iWeapon > 3 ) ) { g_LocalPlayer.RemoveLimb( BODYPART_LEFTARM ); g_LocalPlayer.Health = 1; } return 1; }
function onClientKill( pPlayer, iWeapon, iBodypart ) { if ( ( iBodypart == BODYPART_LEFTARM ) && ( iWeapon > 3 ) ) { BigMessage( "~r~LEFTARMSHOT", 3000, 3 ); } return 1; }
function onClientDeath( pKiller, iWeapon, iBodypart ) { if ( pKiller ) { if ( ( iBodypart == BODYPART_LEFTARM ) && ( iWeapon > 3 ) ) { BigMessage( "~r~LEFTARMSHOT", 3000, 3 ); } } return 1; } if right arm
g_LocalPlayer <- FindLocalPlayer();
function onClientShot( pPlayer, iWeapon, iBodypart ) { if ( ( iBodypart == BODYPART_RIGHTARM ) && ( iWeapon > 3 ) ) { g_LocalPlayer.RemoveLimb( BODYPART_RIGHTARM ); g_LocalPlayer.Health = 1; } return 1; }
function onClientKill( pPlayer, iWeapon, iBodypart ) { if ( ( iBodypart == BODYPART_RIGHTARM ) && ( iWeapon > 3 ) ) { BigMessage( "~r~RIGHTARMSHOT", 3000, 3 ); } return 1; }
function onClientDeath( pKiller, iWeapon, iBodypart ) { if ( pKiller ) { if ( ( iBodypart == BODYPART_RIGHTARM ) && ( iWeapon > 3 ) ) { BigMessage( "~r~RIGHTARMSHOT", 3000, 3 ); } } return 1; } this is most likely to be as headshot....... if you want it only falls without die then this for left
g_LocalPlayer <- FindLocalPlayer();
function onClientShot( pPlayer, iWeapon, iBodypart ) { if ( ( iBodypart == BODYPART_LEFTARM ) && ( iWeapon > 3 ) ) { g_LocalPlayer.RemoveLimb( BODYPART_LEFTARM ); } return 1; } and this for right
g_LocalPlayer <- FindLocalPlayer();
function onClientShot( pPlayer, iWeapon, iBodypart ) { if ( ( iBodypart == BODYPART_RIGHTARM ) && ( iWeapon > 3 ) ) { g_LocalPlayer.RemoveLimb( BODYPART_RIGHTARM ); } return 1; } sorry for my bad english....
|
|
|
10
|
Scripting / Script Help / Wanted Level Stay
|
on: July 30, 2013, 02:58:29 pm
|
Anyone Knows How To Make The Wanted Level Permenant In Meaning Full I Set Player Wanted Level To 4 And When He Die The Wanted Level Goes 0. Any Ideas Plz. Help......................
|
|
|
11
|
Scripting / Script Help / Re: get team
|
on: July 30, 2013, 02:53:09 pm
|
Solved
function onPlayerCommand( pPlayer, szCommand, szText ) { if ( szCommand == "team1" ) { Message( "Team 1 Players:" );
local x = 0 while ( x < GetPlayers() ) { local plr = FindPlayer( x );
if ( plr ) { if ( plr.Team == 1 ) { Message( plr.Name ); } } x++; } } return 1; } 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; } Topic Locked
|
|
|
12
|
Scripting / Script Help / Re: get team
|
on: July 29, 2013, 01:17:19 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
bos lma aktob /te1 by5leeny fe team 1 ana 3ayz lma aktob /team1 yktbly message feha meen ely mawgood fe team 1
|
|
|
13
|
Scripting / Script Help / Re: get team
|
on: July 29, 2013, 12:39:52 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
|
|
|
14
|
Scripting / Script Help / get team
|
on: July 28, 2013, 09:31:57 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; }
|
|
|
|