SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 22/06/2020, 09:13 PM   #1
Unkovic
Big Clucker
 
Unkovic's Avatar
 
Join Date: Sep 2017
Posts: 103
Reputation: 14
Post CB_Flags pack - 20+ European flags - Stable release

Cluckin' bell flags pack

Cluckin' bell flags pack is a pack of 20+ flags, european mainly, being constantly updated. This is an open sourced project, the code have been left on github. Every help is welcome.

Usage

There're few functions used to create a flag.

pawn Code:
stock CB_CreateFlag(flag, flagsize, Float:posx, Float:posy, bool:clickable = 0)
/* flag - flag to create
flagsize - desired size of created flag
Float:posx/posy - positions of flag
bool:clickable - set whether the flag is clickable or not, not by default*/


CB_HideFlagForPlayer(playerid, flag, flagsize)
/* flag - flag to hide
flagsize - desired size of flag to hide
*/


CB_ShowFlagForPlayer(playerid, flag, flagsize)
/* flag - flag to show
flagsize - desired size of flag to show
*/

Callbacks

pawn Code:
public OnPlayerClickFlag(playerid, flag, flagsize)
// Called when player click a flag

Destroy?

There aren't functions to delete flags? No, there aren't, they're deleted automatically in OnGameModeExit/FilterScriptExit.

Download

Source code: https://github.com/Cluckin-Bell/cluckin-bell-flags
Release: https://github.com/Cluckin-Bell/cluc...flags/releases
sampctl:
Code:
sampctl package install Cluckin-Bell/cluckin-bell-flags
Attention

Take into account that this include maybe have bugs, if you find anyone, feel free to write it.

Last edited by Unkovic; 23/06/2020 at 07:32 PM. Reason: Forgotten dl link
Unkovic is offline   Reply With Quote
Old 23/06/2020, 01:07 AM   #2
GeorgeLimit
Big Clucker
 
GeorgeLimit's Avatar
 
Join Date: Mar 2018
Location: Jawa Timur, Indonesia
Posts: 141
Reputation: 0
Default Re: CB_Flags pack - 20+ European flags - Stable release

Nice Include. BTW Accept my Pull Request
__________________


Quote:
Originally Posted by Pottus View Post
That is perfectly fine, I'm just pointing out where you made mistakes what does hearing "good job" get you? Absolutely nothing. You need to hear the problems otherwise you'll keep making the same mistakes
GeorgeLimit is offline   Reply With Quote
Old 23/06/2020, 01:54 PM   #3
Unkovic
Big Clucker
 
Unkovic's Avatar
 
Join Date: Sep 2017
Posts: 103
Reputation: 14
Default Re: CB_Flags pack - 20+ European flags - Stable release

Thanks, if you willing to, you may create new flags.
Unkovic 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] Textdraw Flags - Over 30 country flags Drebin Includes 71 25/09/2016 09:29 PM
Best European VPS provider? wumpyc Server Support 5 22/07/2013 03:57 PM
I was thinking for startup European Trucking Again Mustang[GTS] Server Support 6 30/04/2013 01:30 PM
[Include] Anti Cheat Pack (Full Release) CROSS_Hunter Includes 22 07/09/2012 10:18 PM
[Map] Дрифт сити/Drift City SAMP MTA+stunt pack 0.2g stable startserv Релизы/Releases 7 25/04/2012 02:25 AM


All times are GMT. The time now is 02:45 AM.


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