How to make teams I really NEED it !! - 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)
+--- Thread: How to make teams I really NEED it !! (
/showthread.php?tid=523108)
How to make teams I really NEED it !! -
YanLanger - 30.06.2014
I need to make teams ..
I got grove and ballas how do i make em teams ??
Thanks.
Re: How to make teams I really NEED it !! -
YanLanger - 30.06.2014
Anyone ?
I need it NOW
Re : How to make teams I really NEED it !! -
Clad - 30.06.2014
Click
Re: How to make teams I really NEED it !! -
YanLanger - 30.06.2014
Nope.
Re: How to make teams I really NEED it !! -
Twizted - 30.06.2014
y_groups is good.
https://sampforum.blast.hk/showthread.php?tid=194480
Re: How to make teams I really NEED it !! -
YanLanger - 30.06.2014
Idk what to do
sorry for being stupid xd
Re: How to make teams I really NEED it !! -
Twizted - 30.06.2014
Have you looked at the "Use" of y_groups?
Re: How to make teams I really NEED it !! -
YanLanger - 30.06.2014
Never mind........ TOO Hard
Re: How to make teams I really NEED it !! -
Dziugsas - 30.06.2014
pawn Код:
enum pInfo
{
pTeam
}
new PlayerInfo[MAX_PLAYERS][pInfo];
public OnPlayerSpawn(playerid)
{
if(PlayerInfo[playerid][pTeam] == TEAMID)
{
//DO SOMETHING HERE
}
return 1;
}
CMD:yourcommand(playerid,params[])
{
if(PlayerInfo[playerid][pTeam] == TEAMID)
{
//DO SOMETHING HERE
return 1;
}
else { SendClientMessage(playerid, color, "Your not in TEAMID"); return 1; }
return 1;
}
Re: How to make teams I really NEED it !! -
Juvanii - 30.06.2014
Quote:
Originally Posted by YanLanger
Idk what to do
|
Sorry if i'm being rude a lil bit in here, but they gave you more than one method to make teams in spite of this kind of scripts is so easy to make, also 'samp wiki' is the best way to learn how to script. If you don't know what to do as you said, so it's so hard for you to control your server in the future when the players start to join it, and hard for you to fix bugs and everything you would face it! You better learn some basic scripts using wiki before you "Request Script".
You have to search for something called "SetPlayerTeam" and also search about some gamemodes/filterscripts/tutorials about teams, there are many here in samp forums.