Help with Teams
#1

Hello all, i want to know how to make teams, like spectial commands for teams only and when a players choses a skin, the skin he chose will be a team if you kno what i mean...

please help me.
Reply
#2

pawn Код:
if( GetPlayerSkin( playerid ) == someskin )
{
    SendClientMessage( playerid, 0xAAAAAA, "You are free to use commands with this skin. " );
}
else
{
    SendClientMessage( playerid, 0xAAAAAA, "Your skin doesn't support this feature. " );
}
Reply
#3

Read the damn rules https://sampforum.blast.hk/showthread.php?tid=45235
Reply
#4

Quote:
Originally Posted by marinov
Посмотреть сообщение
Oh i am sorry
Reply
#5

Did my theory work? .

Edit: This could help too
Reply
#6

what ever i do i get this

warning 203: symbol is never used: "gTeam"
Reply
#7

Quote:
Originally Posted by Markx
Посмотреть сообщение
what ever i do i get this

warning 203: symbol is never used: "gTeam"
Mean's code does not have gTeam... You can fix that by removing or commenting

pawn Код:
new gTeam[MAX_PLAYERS]:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)