Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] [MySQL] Shot recorder - Records shot with appropriate bodytype

$
0
0
Shot Recorder
Version: v0.1
Last updated: N/A

Description

This filterscript allows to you save all the shots a player shot and saves them with the bodypart type.

Media



Features
  • See all your shots in /shots (or other's shots with /shots [ID])
  • Easily edited
  • Uses MySQL R39-6 by BlueG
  • User friendly
  • Readablilty
  • Good performance

Credits

AjaxM - The script
SA-MP Team - SA-MP
BlueG - MySQL
Yashas / Zeex - I-ZCMD

Bugs

Tested ; No bugs found.

Table Creation

You should manually create the table with the following code:

PHP Code:

CREATE TABLE `YOUR_PORT_HERE`.`ShotRecords`(
    `
IDINT(15NOT NULL AUTO_INCREMENT ,
    `
NameVARCHAR(25NOT NULL ,
    `
ChestINT(11NOT NULL ,
    `
TorsoINT(11NOT NULL ,
    `
LeftArmINT(11NOT NULL ,
    `
RightArmINT(11NOT NULL ,
    `
LeftLegINT(11NOT NULL ,
    `
RightLegINT(11NOT NULL ,
    `
HeadINT(11NOT NULL ,
    `
MissedINT(15NOT NULL ,
    
PRIMARY KEY  (`ID`))
    
ENGINE InnoDB

Note: You should change the 'YOUR_PORT_HERE' to your database port.

Download

GITHUB

Note: You will find '^M' in everywhere in the script ; Don't worry, copy the code and paste it to your .PWN and it will be all gone.

Thanks & enjoy.

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>