[HELP] balanc tйam - 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] balanc tйam (
/showthread.php?tid=199233)
[HELP] balanc tйam -
Amine_Mejrhirrou - 14.12.2010
hi all
i'm gonna explain my problem :
i have a game mod and i want to put a
team balance : i mean i want to put something like
Quote:
public OnPlayerConnect(playerid)
if player id is 2,5,8,11,15,18
SetPlayerTeam(playerid, 1);
else
SetPlayerTeam(playerid, 2);
|
can you help me
Re: [HELP] balanc tйam -
Marcel - 14.12.2010
pawn Код:
if (playerid == 2 || playerid == 5 || playerid == 8 || playerid == 11 || playerid == 15 || playerid == 18 )
{
SetPlayerTeam (playerid, 1);
}
else
{
SetPlayerTeam (playerid, 2);
}
Re : [HELP] balanc tйam -
Amine_Mejrhirrou - 15.12.2010
yйss thanks a lot man
Re: [HELP] balanc tйam -
ossama - 07.08.2011
amine hi
Re: [HELP] balanc tйam -
MadeMan - 07.08.2011
pawn Код:
switch(playerid)
{
case 2,5,8,11,15,18:
{
SetPlayerTeam(playerid, 1);
}
default:
{
SetPlayerTeam(playerid, 2);
}
}