Gang Colors!
#1

Hello, I need some help, I wanna add some gang colors to my script, so every gang-slot will own it own color, for example, The Mafia is RED, and Yakuza is gray, please help!

(Setting a player's color in his family) for example /families 11 owns color gray HOW!
Reply
#2

if(familyID[playerid] == 11) { SetPlayerColor(playerid, 0x777777AA); }

All speculative.
Reply
#3

Edit: Didn't read the thread sorry.
Wrong post.
Reply
#4

Where should I post if(familyID[playerid] == 11) { SetPlayerColor(playerid, 0x777777AA); }
Reply
#5

I put this: if(familyID[playerid] == 11) { SetPlayerColor(playerid, 0x777777AA); } under the OnPlayerSpawn and some errors appeared:

Quote:

C:\Users\TSC\Desktop\FIXED\UPGRADED AND FIXED\gamemodes\NE-RP.pwn(1929 : error 017: undefined symbol "familyID"
C:\Users\TSC\Desktop\FIXED\UPGRADED AND FIXED\gamemodes\NE-RP.pwn(1929 : warning 215: expression has no effect
C:\Users\TSC\Desktop\FIXED\UPGRADED AND FIXED\gamemodes\NE-RP.pwn(1929 : error 001: expected token: ";", but found "]"
C:\Users\TSC\Desktop\FIXED\UPGRADED AND FIXED\gamemodes\NE-RP.pwn(1929 : error 029: invalid expression, assumed zero
C:\Users\TSC\Desktop\FIXED\UPGRADED AND FIXED\gamemodes\NE-RP.pwn(1929 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

What should I do?!?!?!??!
Reply
#6

Never Mind, sorry for this post.
Reply
#7

As I said,, the code I posted was an example. It was not copy-paste ready code! I don't even know how you get your familycode.
Reply
#8

Im going to PM you my families system
Reply
#9

I'd rather not. I am just helping you and not going to give you code that is copy-paste ready.
Reply
#10

Please help me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)