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

[FilterScript] Los Santos Gang Graffiti

$
0
0
Hello, I would like to present you the Los Santos Gang Graffiti.

Video:


Installation:
PHP Code:

#include <streamer>
#include <3DTryg>

//#define GRAFFITI_DEFAULT_GANG            0
//#define GRAFFITI_DEFAULT_COLOR        0x003D00FF
//#define GRAFFITI_DEFAULT_NAME            "Sekhmete Axion Rush"
    
stock Graffiti_GetPlayerGang(playerid){
    return 
PlayerData[playerid][gang]; //your variable returning gangid
}
#include <Graffiti>

//called after player change graffiti tag
public OnGraffitiTagChanged(mobid,playerid,gangid,old_gangid){
    new 
buffer[32];
    
format(buffer,sizeof(buffer),"~w~Tag painted ~n~%d of %d",Graffiti::CountGangTags(gangid),MAX_GRAFFITI);
    
GameTextForPlayer(playerid,buffer,3000,4);
    
    
//Graffiti::SetGangName(mobid,0xDBDE1FFF,"Grove Street");
    
return 1;
}

//called after server init
public OnGraffitiTagCreated(mobid,gangid){
    
    
//Graffiti::SetGangName(mobid,0xDBDE1FFF,"Grove Street");
    
return 1;


Download:
Graffiti.inc
graffiti.bin (put in /scriptfiles)
3DTryg.inc Thread

Notice:
Filterscript not exist because filterscripts have limits.
This has been replaced by include, having automatic installation, efficient GameMode/FilterScript.


Non-Registered Users:
Bug Report

Viewing all articles
Browse latest Browse all 595

Trending Articles



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