SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 25/02/2017, 08:47 PM   #1
TopShooter2
Big Clucker
 
TopShooter2's Avatar
 
Join Date: Feb 2017
Posts: 116
Reputation: 67
Default 1 Hit Kill - A/D [SQLite]

1 Hit Kill was an old community that served for two years and sadly we had to close the community one year ago due to lack of funds, we were also busy to run a community therefore we decided to close the community and this day had come, I've released the gamemode since i'm no longer using it as far as I know.




Features
Alright, pretty sure that you are looking for the features to be stated so you know more about this gamemode.

• Basic Anti-Cheat.
• Anti Team Balance.
• Registeration/Login System using SQLite.
• Spawn Protection.
• Administrative System.
• Custom VIP System.
• Map Changer System. (You are now able to add maps in-game, it's very easy and you are free to contact me anytime if you meet any issues with the Map Creation system nor got any questions about it)
• Map Boundaries System. (Yes, you can make a map in for example Idlewood Pizza stack by adding boundaries there and it won't let players go out the boundaries you made)
• Achievements System. (You can unlock new guns by unlocking the achievements)
• Killing Spree System.
• Headshot System. (Works with Rifle, Deagle and Sniper)
• Easter Event and Halloween Event. (Note that i'm using the same function "EasterEgg" but you can change the object ID and client messages from Easter Egg to Halloween Pumpkin)
• Red|Blue Teams, each team has a VIP class that spawns with armour, laser and few attachments.
• Max FPS/Ping System. (Can be adjusted by an admin in-game)
• T-Bag System. (You can crouch near the player you killed before his body dissapears and you gotta T-Bag him, will refill your ammo and gives you a score)
• You gotta choose the weapons you spawn with using /gunmenu. (You unlock different guns by achieveing their achievements, for example; Unlock M4 by achieveing 250 AK47 Kills)
• FPS and Ping of each player is appearing on his skin as a label.
• Team score in a textdraw.
• When the round ends a score table pops up with the top players to worst players with the amount of kills/deaths they achieved this round.
• Each gun you have appears over your body unless you are holding it.
There's few more features that you gotta check yourself.


Commands

Code:
Administrative Commands
/asay /admins /slap /kick /mute /unmute /spec /specoff /check /ban /freeze /unfreeze /clearchat /ann /offlineban /unban /searchban /skin /banip /setlevel /v /getgun /jetpack /(un)lock /skipmap /minfps /maxping /crash /setvip /makemap /ok /addscore /skin /givescore
Code:
Player Commands
/weather /time /radio /gunmenu /exit /pm /r /blockpm /blockpmall /changepass /kill /stats /wkills (OR) /wstats /rewards /sstats /vipinfo /updates /report

Latest Changes to the script
PHP Code:
CMD:updates(playeridparams[])
{
    new 
string[1024];

    
string "";
    
strcat(string"{88FF88}07 May 2015 - {88FFBB}v0.96 - By TopShooter and X.");
    
strcat(string"\n{FFFF00}- Improved textdraws");
    
strcat(string"\n{FFFF00}- Updated admin commands");
    
    
strcat(string"\n\n{88FF88}26 April 2015 - By TopShooter, X.K and iDragonZ");
    
strcat(string"\n{FFFF00}- Fixed small bugs related to cheats detection");
    
strcat(string"\n{FFFF00}- Added map: Sniper Heaven by iDragonZ");

    
strcat(string"\n\n{88FF88}25 April 2015 - {88FFBB}v0.95 - By TopShooter");
    
strcat(string"\n{FFFF00}- Added T-bagging feature. Crouch over last killed enemy's body to refill ammo");
    
strcat(string"\n{FFFF00}- T-bags are now recorded in /stats");
    
strcat(string"\n{FFFF00}- Reduced weapon ammos to encourage T-bagging");
    
strcat(string"\n{FFFF00}- Fixed a bug where players could refill ammo from /guns menu");
    
strcat(string"\n{FFFF00}- Secret Reward 2 will now unlock on 50 T-bags instead of 50 Punch kills (/rewards for more info)");
    
strcat(string"\n{FFFF00}- Secret Reward 3 will now unlock on 50 grenade kills instead of 100 Grenade kills (/rewards for more info)");
    
strcat(string"\n{FFFF00}- Fixed a bug where players could spawn and be stuck without login or register");
    
strcat(string"\n{FFFF00}- Added detection of Ammo Hacks");
    
strcat(string"\n{FFFF00}- Removed map: Chilliad Shack");

    
strcat(string"\n\n{88FF88}23 April 2015 - {88FFBB}v0.94 - By TopShooter and X.K");
    
strcat(string"\n{FFFF00}- Added detection of common cheats: Jetpack, Airbreak, Speedhack, Armor, Weapon Hacks");
    
strcat(string"\n{FFFF00}- Fixed cigar position on all skins");
    
strcat(string"\n{FFFF00}- You will not get kicked for FPS, Ping & PL now unless you spawn");
    
strcat(string"\n{FFFF00}- Added 1 new map: Pwnage Station by Oakz and removed 1 bad map: Bayside Marina");
/*
    strcat(string, "\n\n{88FF88}9 April 2015 - By TopShooter and X.K");
    strcat(string, "\n{FFFF00}- Fixed rewards messages appearing more than once");
    strcat(string, "\n{FFFF00}- Fixed a bug where people could sync while on end round table");
    strcat(string, "\n{FFFF00}- Fixed a bug where people could kill others after round end");
    strcat(string, "\n{FFFF00}- Added 3 new maps: Junkyard, Oil Refinery, Pilgrim");

    strcat(string, "\n\n{88FF88}8 April 2015 - By TopShooter and X.K");
    strcat(string, "\n{FFFF00}- Easter Event ended");
    strcat(string, "\n{FFFF00}- Added FPS, Ping and PL limits: 30 FPS, 420 Ping, 1.0 PL");
    strcat(string, "\n{FFFF00}- Added /kill command");

    strcat(string, "\n\n{88FF88}7 April 2015 - By TopShooter and X.K");
    strcat(string, "\n{FFFF00}- Last Day of Easter Event. Reward of opening Halloween Pumpkin changed.");
    
    strcat(string, "\n\n{88FF88}5 April 2015 - By TopShooter and X.K");
    strcat(string, "\n{FFFF00}- Made more checks to ensure stats saving");
    strcat(string, "\n{FFFF00}- Day 2 of Easter Event. Reward of opening Halloween Pumpkin changed.");
    
    strcat(string, "\n\n{88FF88}4 April 2015 - By TopShooter and X.K");
    strcat(string, "\n{FFFF00}- Easter Event enabled. 1 Halloween Pumpkin is placed in each map. Finder gets a nice surprise.");
    strcat(string, "\n{FFFF00}- Added sounds on round win and /guns menu selections");
    strcat(string, "\n{FFFF00}- Stats should technically never be lost now, even in case of server restart");

    strcat(string, "\n\n{88FF88}2 April 2015 - {88FFBB}v0.93 - By TopShooter and X.K");
    strcat(string, "\n{FFFF00}- Weapon selection (/guns) is now in the form of decent clickable textdraws instead of menus");
    strcat(string, "\n{FFFF00}- Added /exit command to exit weapon selection (Helpful if you mistakenly press Esc during weapon selection)");
    strcat(string, "\n{FFFF00}- Textdraws for Headshot and Killing Spree are more sleek, separate and do not overlap each other now");
    strcat(string, "\n{FFFF00}- Removed /changename command as it was causing player stats to be lost (Contact X.K for future name changes)");
    strcat(string, "\n{FFFF00}- Secret reward 1 will now unlock on 50 headshots instead of 25 punch kills (/rewards for more info)");
    strcat(string, "\n{FFFF00}- Weapon in hand on spawn is now Fist");

    strcat(string, "\n\n{88FF88}29 March 2015 - By TopShooter and X.K");
    strcat(string, "\n{FFFF00}- Fixed a bug where players were spawning half-way inside ground in interiors");
    strcat(string, "\n{FFFF00}- Fixed a bug where interior map start camera was not showing any objects");
    strcat(string, "\n{FFFF00}- Fixed a bug where VIP 3D text was appearing above non-VIP players");

    strcat(string, "\n\n{88FF88}27 March 2015 - By TopShooter and X.K");
    strcat(string, "\n{FFFF00}- Fixed hit/damage and kill/death textdraws");
    strcat(string, "\n{FFFF00}- Added 2 new commands: /changename and /changepass");
    
    strcat(string, "\n\n{88FF88}26 March 2015 - By TopShooter and X.K");
    strcat(string, "\n{FFFF00}- Unlocked weapons are now wearable. Type /rewards for more details");

    strcat(string, "\n\n{88FF88}24 March 2015 - By TopShooter and X.K");
    strcat(string, "\n{FFFF00}- VIP system is now available. Type /vipinfo or /donate for more details");

    strcat(string, "\n\n{88FF88}21 March 2015 - By TopShooter and X.K");
    strcat(string, "\n{FFFF00}- Script converted back to 1 Hit Kill system");
    
    strcat(string, "\n\n{88FF88}30 January 2015 - By X.K");
    strcat(string, "\n{FFFF00}- Increased map time from 5 minutes to 7 minutes");
    strcat(string, "\n{FFFF00}- Weather/Time will now only randomize on each map start and on login");
    strcat(string, "\n{FFFF00}- If a player uses /weather or /time command, then his weather/time won't change each map");
    strcat(string, "\n{FFFF00}- Turned off auto-play radio on login");
    strcat(string, "\n{FFFF00}- Added 4 new maps: Chilliad Shack, Ocean Flats, Paradiso, Bayside Marina");
    
    strcat(string, "\n\n{88FF88}29 January 2015 - By X.K");
    strcat(string, "\n{FFFF00}- Script converted from 1 Hit Kill system to full HP and Armor");
    strcat(string, "\n{FFFF00}- Headshot kills still exist and will stay");
    strcat(string, "\n{FFFF00}- Random weather/time added which will change after every minute");
    strcat(string, "\n{FFFF00}- Removed player AC check system since old AC doesn't exist anymore");
*/
    
strcat(string"\n\n{88FF88}Stuff still under construction:");
    
strcat(string"\n{FFFF00}- Helmet protection from headshots");

    
ShowPlayerDialog(playerid,DIALOG_HELPS,DIALOG_STYLE_MSGBOX,"{FFFF00}Latest Updates"string"OK","");
    return 
1;

Images
Note that there's some missing features in the images that I couldn't take since I needed somebody online with me so I can take these images, so test them yourself.




Full Album
Credits
Kalcor - SA-MP
TopShooter - Original Scripter
X.K - Original Scripter
Kar - Foreach
Zeex - ZCMD
Whitetiger - Goelocation
Westie - Strlib
Southclaw - Progress Bars
Emmet_ - sscanf

Bugs
There's currently no known bugs as I fixed the latest known bugs were fixed before I release it, if you found any bug just inform me so I can be aware of the bug and may fix it aswell.

Downloads

v3.1
MegaFileUpload.com
Server Files
SQLite DB
Upload.ee
Server Files
SQLite DB
Mediafire.com
Server Files
SQLite DB
Pastebin
.pwn

V3.2
.pwn

This script uses SQLite Database.

Old videos/trailers
Trailer #1

Last edited by TopShooter2; 16/10/2019 at 02:15 AM.
TopShooter2 is offline   Reply With Quote
Old 25/02/2017, 08:49 PM   #2
TOS
Banned
 
Join Date: Feb 2017
Location: Unknown
Posts: 31
Reputation: 1
Default Re: 1 Hit Kill - A/D [SQLite]

Nice work good job
TOS is offline   Reply With Quote
Old 26/02/2017, 07:45 AM   #3
RyderX
Banned
 
Join Date: Oct 2016
Location: Lebanon,Beirut Rank: SA-MP Scripter
Posts: 564
Reputation: 53
Default Re: 1 Hit Kill - A/D [SQLite]

Good job TopShooter,

Off-Topic: What happens to your old account?
RyderX is offline   Reply With Quote
Old 26/02/2017, 09:17 AM   #4
Roozevelt
Gangsta
 
Roozevelt's Avatar
 
Join Date: Jan 2016
Location: Tunsia
Posts: 526
Reputation: 154
Default Re: 1 Hit Kill - A/D [SQLite]

I mostly like the textdraws <3
__________________
• Left SA-MP.
• Roosevelt's stunt map pack : Click here
• SEF community
• Join now

Support my music : https://www.youtube.com/watch?v=1ats...&start_radio=1
Roozevelt is offline   Reply With Quote
Old 26/02/2017, 02:48 PM   #5
TopShooter2
Big Clucker
 
TopShooter2's Avatar
 
Join Date: Feb 2017
Posts: 116
Reputation: 67
Default Re: 1 Hit Kill - A/D [SQLite]

Quote:
Originally Posted by TOS View Post
Nice work good job
Thanks TheOneShoot

Quote:
Originally Posted by RyderX View Post
Good job TopShooter,

Off-Topic: What happens to your old account?
Thanks,

OT: I was told that my account has been bugged via email as I made administrative request, and that my account might be set as "guest" in less than month as something went wrong with my account .

Quote:
Originally Posted by ItzzWesty View Post
I mostly like the textdraws <3
They were designed by my friend and were made to work by me, so thank my friend for designing them .
TopShooter2 is offline   Reply With Quote
Old 04/03/2017, 02:32 PM   #6
Bolex_
Gangsta
 
Bolex_'s Avatar
 
Join Date: Aug 2015
Location: Croatia.
Posts: 592
Reputation: 117
Default Re: 1 Hit Kill - A/D [SQLite]

Code is pretty bad & messy! Good
Bolex_ is offline   Reply With Quote
Old 04/03/2017, 02:46 PM   #7
TopShooter2
Big Clucker
 
TopShooter2's Avatar
 
Join Date: Feb 2017
Posts: 116
Reputation: 67
Default Re: 1 Hit Kill - A/D [SQLite]

Quote:
Originally Posted by Scripter18 View Post
Code is pretty bad & messy! Good
It isn't in my opinion, thanks for the feedback anyways.
TopShooter2 is offline   Reply With Quote
Old 04/03/2017, 03:01 PM   #8
Sumit4
Big Clucker
 
Join Date: Sep 2016
Posts: 95
Reputation: 18
Default Re: 1 Hit Kill - A/D [SQLite]

Nice Textdraws dude and GM
Sumit4 is offline   Reply With Quote
Old 04/03/2017, 03:06 PM   #9
Eoussama
High-roller
 
Eoussama's Avatar
 
Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,071
Reputation: 281
Default Re: 1 Hit Kill - A/D [SQLite]

Nice, keep it up
+REP
__________________

|===[Web taxi]===|
List of my work
Github
Pastebin

|===[Interesting topics]===|
Semantic Versioning
Eoussama is offline   Reply With Quote
Old 06/03/2017, 12:18 PM   #10
TopShooter2
Big Clucker
 
TopShooter2's Avatar
 
Join Date: Feb 2017
Posts: 116
Reputation: 67
Default Re: 1 Hit Kill - A/D [SQLite]

Quote:
Originally Posted by Sumit4 View Post
Nice Textdraws dude and GM
Thanks.

Quote:
Originally Posted by Eoussama View Post
Nice, keep it up
+REP
Thanks.
TopShooter2 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] Easy SQLite: Simplyfing the usage of SQLite queries! ThePhenix Includes 8 16/03/2019 04:22 AM
Kill streak stops at Double kill +REP Youssef221 Scripting Help 14 24/01/2015 01:43 PM
How to kill get score and if kill send message you got this score ..... FloxX Scripting Help 2 30/09/2014 07:30 AM
[Ajuda] Comando ou fs de limpa chat kill? ι possivel muda posiηγo do chat kill? XxSemNickxX Portuguκs/Portuguese 2 16/01/2014 03:32 PM
Problem: /kill cmd player on kill list nejc001 Help Archive 7 23/03/2011 11:09 PM


All times are GMT. The time now is 06:00 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.