|
Pages: 1 ... 3 4 [5] 6 7 ... 9
41
« Last post by Davut^ on January 19, 2018, 09:36:17 pm »
Hello! Here you can ask anything about scripting -whatever you want-.We shall try our best to help you in scripting thanks. This part is just to ask help about scripting not to release scripts.
42
« Last post by JIN on January 19, 2018, 09:33:51 pm »
Nice cmd debut
43
« Last post by Davut^ on January 19, 2018, 09:33:35 pm »
Hello! This is portion for scripts Update. You can update your scripts here But your scripts must not be someone's.If we find out that you have posted someone's script and took full credit yourself then we shall directly delete your Post. Regards UD team.
44
« Last post by JIN on January 19, 2018, 09:32:36 pm »
Nice David
45
« Last post by Davut^ on January 19, 2018, 09:23:27 pm »
Personal information
Real name:Hazem Age:18 Years Country of residence: Pakistan Nationality:Muslim
Please introduce yourself in 2-3 lines:Hello My real name is Example.I live in Pakistan and i Love UD clan so i want to join UD.
Gaming information
Ingame name: Davut^ Previous in-game names:Much names even i forgot VC:MP Experience (year(s) must be at least half): 2 years almost Previous clans and reason for leaving: No clans Estimated skill level (?/10): almost 5/10 Preferred weapons: Shotgun,M4,Uzi Preferred servers: Vice-land Server ,European Server,Little-whitey's Server Average ping in common servers:200-350ms
Interest in clan
Why are you interested in joining UD:I want to join UD because i love this clan people of UD clan are friendly and good in manners. I want to be one of them. What benefits can you bring to the clan:I will devote my time for UD and i will work hard for clan.And i will never Betray clan.
46
« Last post by Davut^ on January 19, 2018, 08:17:56 pm »
Hi guys there is script to check stats Paste this at section (function onPlayerCommands)
else if ( cmd == "stats" ) { if ( Logged == true ) { local q = QuerySQL( accounts, "SELECT * FROM playeraccounts WHERE Name='"+player.Name+"'" ); local a = GetSQLColumnData( q, 3 ) local b = GetSQLColumnData( q, 4 ) Message( "[#ffffff][INFO]Dear [#00ff00]" + player + " [#ffffff]Your [#00CC00]Kills[#ffffff]:[#FD0F0F]" + a + "" ); MessagePlayer( "[#ffffff][INFO][PM]Dear [#00ff00]" + player + " [#ffffff]Your [#00CC00]Kills[#ffffff]:[#00CC00]" + a + " [#ffffff]Yor [#FD0F0F]Deaths:[#FD0F0F]" + b + "" , player ); } else if ( Logged == false ) { MessagePlayer( "[#ffffff][INFO][PM][#FD0F0F]You Need To log in My Friend if you don't your stats are wastage." , player ); } }Next part status
else if ( cmd == "status" ) { if ( !player.Spawned ) { MessagePlayer( "[#fffff][INFO][PM]You need to spawn to use this cmd" , player ); } else if ( player.Spawned ) { local q = QuerySQL( accounts, "SELECT * FROM playeraccounts WHERE Name='"+player.Name+"'" ); local a = GetSQLColumnData( q, 2 ) local b = GetSQLColumnData( q, 3 ) local c = GetSQLColumnData( q, 4 ) local d = GetSQLColumnData( q, 5 ) Message( "[#ffffff][INFO]Status of " + player + " is:" ); Message( "[#ffffff]Health:" + player.Health + "" ); Message( "[#ffffff]Cash:" + a + "" ); Message( "[#ffffff]Kills:" + b + "" ); Message( "[#ffffff]Deaths:" + c + "" ); Message( "[#ffffff]Level:" + d + "" ); } }
47
« Last post by Davut^ on January 19, 2018, 08:09:08 pm »
Hi all well here is stats script First you need to paste this above all and without any bracket Kills <- 0 Deaths < - 0Now next step is (function onScriptLoad()) accounts <- ConnectSQL( "scripts/accounts.sqlite" ); QuerySQL(accounts, "CREATE TABLE IF NOT EXISTS playeraccounts ( Name TEXT, Password TEXT, Cash INT, Kills INT, Deaths INT, Level INT, IP TEXT )" );
Now you guys have register system well np next step is (function onPlayerKill()) function onPlayerKill( killer,player, reason, bodypart ) { Message( "[#ffffff][#1FFFF9]" + killer.Name + "[#FFF11B] killed [#FF0000] " + player.Name + "[#FFF11B] Weapon: [[#6BFF46]" + GetWeaponName( reason ) + "[#FFF11B]] [#FFF11B]Ping:[#1FFFF9][" + killer.Ping + "][#FFF11B]FPS:[#1FFFF9][" + killer.FPS + "]" ); MessagePlayer( "[#1FFFF9][PM]You have been awarded with 1000 due to killing " + player + "" , killer ); killer.Cash += 1000; Kills += 1 QuerySQL( accounts, "UPDATE playeraccounts SET Kills=" + Kills + " WHERE Name='" + killer.Name + "'" ); if ( killer.Health <= 40 ) { killer.Health += 5; } if ( player.Cash >= 250 ) { MessagePlayer( "[#FD0F0F][PM]Sorry to say but Server has took 250 from your cash " , player ); player.Cash -= 250; } }Kills saved Next step is (function onPlayerDeath) { Deaths += 1; QuerySQL( accounts, "UPDATE playeraccounts SET Deaths=" + Deaths + " WHERE Name='" + player.Name + "'" ); }Well thats it Good luck . By UD team. 
48
« Last post by Davut^ on January 15, 2018, 04:56:19 pm »
Name changed Topic is now Locked.
49
« Last post by Storm on January 15, 2018, 04:52:08 pm »
ok
50
« Last post by Davut^ on January 14, 2018, 12:05:22 pm »
Dear S_u_M_o^ You were promoted as a full member of our clan but still you are using Rookie tag next time if I see you with UDr tag then I will cancel your promotion
Best for you is to use tag [UD] or UD. OK?
Pages: 1 ... 3 4 [5] 6 7 ... 9
|
Sexy Womans from your city - Verified Maidens
by F4S33H
September 20, 2024, 01:48:04 pm
|
Good Bye
by Davut^
March 07, 2018, 05:12:02 pm
|
Report-Sas
by Davut^
February 27, 2018, 07:19:56 pm
|
Will be back Tomorrow.
by JIN
February 17, 2018, 09:15:16 am
|
Storm is awesome!!!
by JIN
February 17, 2018, 09:13:49 am
|
[Released]Count down script by [UDt]Davut^
by Davut^
February 02, 2018, 10:30:50 pm
|
Clan Information.
by Davut^
February 02, 2018, 06:44:51 pm
|
Important Notice! & Format
by Davut^
February 02, 2018, 06:36:19 pm
|
Rules
by Davut^
February 02, 2018, 06:23:01 pm
|
[Accepted] Bninin Using [OFF] Clan
by JIN
February 02, 2018, 03:07:28 am
|
|
|