help cmd team
#1

hello can you help me as I can make each team have their color and skin and sea balanced the amount of equipment when they enter in ceathmach

#define ATTACK 100
#define DEFENCE 101


new SetTeam[][2] =
{
{SetPlayerTeam, 100},
{SetPlayerTeam, 101}
};

Then in a command
example
CMDM1
new teamrandom = random(sizeof(SetTeamm));
SetPlayerTeam(i, SetTeam[SetTeam][100], SetTeam[SetTeam][101]);
RETURN :
)
Reply
#2

Use these wiki pages:
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
https://sampwiki.blast.hk/wiki/SetPlayerSkin

You could use defines like
#define ATTACKSKIN 0
#define DEFENCESKIN 0
#define ATTACKCOLOUR 0x33CCFFAA
#define DEFENCECOLOUR 0x33CCFFAA

Colour codes are here: https://sampforum.blast.hk/showthread.php?tid=82039
Reply
#3

I did not understand
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)