SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 27/09/2019, 07:50 PM   #11
Symon
Gangsta
 
Symon's Avatar
 
Join Date: Apr 2019
Location: Italy
Posts: 515
Reputation: 18
Default Re: Los Santos Gang Graffiti

Which i did. There is a problem.

My gang system is made like you said:

GangData[gangid][gangName].

Problem is if i use:

pawn Code:
Graffiti::SetGangName(mobid, 0xFFFFFFFF, GangData[gangid][gangName]);

Inside OnGraffitiTagCreated, the graffiti doesn't show on wall, but they're still taggable.

I even tried to comment that line and leave OnGraffitiTagCreated blank with just the return, but still the same problem.

Seems there is a problem with Graffiti::Init. Before you removed the auto init everything was working properly. (Apart from loading gangname on server start).

And yes gangName is valid because:

pawn Code:
Graffiti::SetGangName(mobid, ReturnGangColor(gangid), ReturnGangName(gangid));

Inside OnGraffitiTagChanged works properly.

Also the graffiti is shown after tagging it, when server start no graffiti are shown. They're visible upon tagging with new gang info.
__________________


Discord | Play Now | Website

Add your server to favourites and join our Discord.
Symon 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
[GameMode] Los Santos Gang War 0.3e [NEW !] [DC]Coslo Gamemode Scripts 25 10/10/2018 05:43 PM
[GameMode] Los Santos Gang Wars - V1.0 MikeB Gamemode Scripts 2 14/09/2014 07:47 AM
[GameMode] [GM] Los Santos Gang War by LethaL (Working gang areas /turfs!) LethaL Gamemode Scripts 88 09/04/2012 01:49 PM
[GameMode] Los Santos Gang War Alexy_Dramon Gamemode Scripts 18 13/03/2012 09:31 PM


All times are GMT. The time now is 08:17 PM.


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