SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 23/05/2020, 08:58 AM   #1
MmDSava
Little Clucker
 
Join Date: Jan 2020
Posts: 8
Reputation: 0
Default Buff System

Hello to all this system, I wrote to you to write your comments

Pastebin: https://pastebin.com/XvspNxM3

My Tel: @HehChiMigi
MmDSava is offline   Reply With Quote
Old 23/05/2020, 10:50 AM   #2
Ultraz
Huge Clucker
 
Ultraz's Avatar
 
Join Date: Aug 2016
Location: Egypt
Posts: 246
Reputation: 22
Default Re: Buff System

Add more info like features,screenshots and what is this "buff" doing?
__________________
Scripting since 2016
I participated in:

Ultraz is offline   Reply With Quote
Old 23/05/2020, 11:01 AM   #3
l0gic
Big Clucker
 
Join Date: Aug 2019
Posts: 156
Reputation: 20
Default Re: Buff System

Maybe delete this thing and just practise yourself coding, when you are good enough, you can post something good.
Currently this whole thing is useless and doesn't do anything.

With this script i think you want to increase weapon damage, but it can be done much better and for every weapon. Currently its just copy pasthing some lines and its pointless.

And when player enables weapon increased damage, it will be enabled for every player.
I would make it so every player has possibility to change their weapon damage.
For that I create array with size of every player slot and every weapon slot per player.
PHP Code:
new bool:IncWeaponDamage[MAX_PLAYERS][MAX_WEAPONS];

//This will enable increased damage.
IncWeaponDamage[playerid][WEAPON_M4] = true
They i would create this function and you call it out to get custom weapon damage.
PHP Code:
GetWeaponDamage(weaponID){
    switch(
weaponID){
        case 
WEAPON_M4: return 50;
        case 
WEAPON_DEAGLE: return 70;
        case 
WEAPON_MP5: return 50;
    }
    return 
0;

__________________
Coding experience with: PAWN, Java, Python, Javascript, PHP and SQL for about 6 years.
If I helped you, any reputation would be appreciated.
l0gic is offline   Reply With Quote
Old 23/05/2020, 11:57 AM   #4
MmDSava
Little Clucker
 
Join Date: Jan 2020
Posts: 8
Reputation: 0
Default Re: Buff System

Improves gun 'Buff'

M4 +50DMG
MmDSava is offline   Reply With Quote
Old 23/05/2020, 11:59 AM   #5
MmDSava
Little Clucker
 
Join Date: Jan 2020
Posts: 8
Reputation: 0
Default Re: Buff System

Thank you for your help <3
MmDSava is offline   Reply With Quote
Old 24/05/2020, 12:06 AM   #6
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 597
Reputation: 69
Default Re: Buff System

Too basic, with these values; getting "buff" on any weapon will make it completely overpowered & render them having way too much of an advantage.
__________________
Chaprnks is offline   Reply With Quote
Old 24/05/2020, 03:37 AM   #7
MmDSava
Little Clucker
 
Join Date: Jan 2020
Posts: 8
Reputation: 0
Default Re: Buff System

Quote:
Originally Posted by Chaprnks View Post
Too basic, with these values; getting "buff" on any weapon will make it completely overpowered & render them having way too much of an advantage.
You can set a timer

And you can set up a point system

And I think it's an interesting system
MmDSava 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
Job System, House Rent System and Event System AngeloBrand98 Scripting Help 2 08/11/2016 07:34 AM
[FilterScript] NRank System V1.0 | Advanced Rank System | 5+ Commands | Dialog System [Much More] Nirzor Filterscripts 9 18/04/2014 09:49 PM
[FilterScript] Cross Admin System V1.2 [updated] + Added IRC System + Anti Cheat(sscanf, dcmd,y_ini) No.1 Admin System CROSS_Hunter Filterscripts 21 02/01/2013 06:32 PM


All times are GMT. The time now is 09:30 PM.


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