SA-MP Forums Archive
Help with Teams - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with Teams (/showthread.php?tid=232460)



Help with Teams - Markx - 27.02.2011

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.


Re: Help with Teams - Mean - 27.02.2011

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. " );
}



Re: Help with Teams - marinov - 27.02.2011

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


Re: Help with Teams - Markx - 28.02.2011

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


Re: Help with Teams - Mean - 28.02.2011

Did my theory work? .

Edit: This could help too


Re: Help with Teams - Markx - 28.02.2011

what ever i do i get this

warning 203: symbol is never used: "gTeam"


Re: Help with Teams - alpha500delta - 28.02.2011

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]: