[Help] How? - 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] How? (
/showthread.php?tid=98076)
[Help] How? -
legendario - 19.09.2009
how can i create a command for a certain team, im a beginner im doing my own tdm gm i will like if somebody would help me. i have 2 teams iraq and usa i want to do /commands for a certain team. how i do it? please help me
Re: [Help] How? -
Eazy_Efolife - 19.09.2009
Quote:
Originally Posted by »ŁegenĐ«
how can i create a command for a certain team, im a beginner im doing my own tdm gm i will like if somebody would help me. i have 2 teams iraq and usa i want to do /commands for a certain team. how i do it? please help me
|
Since I dont have your script I will try my best!
Код:
if(strcmp(cmd, "/commands", true) == 0)
{
if(GetPlayerTeam(playerid) == [TEAM])
{
SendClientMessage(playerid, COLOR_GREEN, "BLA BLAH BLAH");
}
}
Re: [Help] How? -
legendario - 19.09.2009
Quote:
Originally Posted by Compton's Eazy E
Quote:
Originally Posted by »ŁegenĐ«
how can i create a command for a certain team, im a beginner im doing my own tdm gm i will like if somebody would help me. i have 2 teams iraq and usa i want to do /commands for a certain team. how i do it? please help me
|
Since I dont have your script I will try my best!
Код:
if(strcmp(cmd, "/commands", true) == 0)
{
if(GetPlayerTeam(playerid) == [TEAM])
{
SendClientMessage(playerid, COLOR_GREEN, "BLA BLAH BLAH");
}
}
|
would u help me in teamviewer?
Re: [Help] How? -
Eazy_Efolife - 19.09.2009
Quote:
Originally Posted by »ŁegenĐ«
Quote:
Originally Posted by Compton's Eazy E
Quote:
Originally Posted by »ŁegenĐ«
how can i create a command for a certain team, im a beginner im doing my own tdm gm i will like if somebody would help me. i have 2 teams iraq and usa i want to do /commands for a certain team. how i do it? please help me
|
Since I dont have your script I will try my best!
Код:
if(strcmp(cmd, "/commands", true) == 0)
{
if(GetPlayerTeam(playerid) == [TEAM])
{
SendClientMessage(playerid, COLOR_GREEN, "BLA BLAH BLAH");
}
}
|
would u help me in teamviewer?
|
What do you mean? Deathcam, /spec?
Re: [Help] How? -
legendario - 19.09.2009
Quote:
Originally Posted by Compton's Eazy E
Quote:
Originally Posted by »ŁegenĐ«
Quote:
Originally Posted by Compton's Eazy E
Quote:
Originally Posted by »ŁegenĐ«
how can i create a command for a certain team, im a beginner im doing my own tdm gm i will like if somebody would help me. i have 2 teams iraq and usa i want to do /commands for a certain team. how i do it? please help me
|
Since I dont have your script I will try my best!
Код:
if(strcmp(cmd, "/commands", true) == 0)
{
if(GetPlayerTeam(playerid) == [TEAM])
{
SendClientMessage(playerid, COLOR_GREEN, "BLA BLAH BLAH");
}
}
|
would u help me in teamviewer?
|
What do you mean? Deathcam, /spec?
|
teamviewer . remote control pple computer. easy way to help me teamviewer.com
Re: [Help] How? -
Eazy_Efolife - 19.09.2009
oh, that. Lol I just uninstalled it :P I will reinstall it
Re: [Help] How? -
legendario - 19.09.2009
Quote:
Originally Posted by Compton's Eazy E
oh, that. Lol I just uninstalled it :P I will reinstall it
|
lol
Re: [Help] How? -
Adil - 19.09.2009
Quote:
Originally Posted by »ŁegenĐ«
how can i create a command for a certain team, im a beginner im doing my own tdm gm i will like if somebody would help me. i have 2 teams iraq and usa i want to do /commands for a certain team. how i do it? please help me
|
Whats your Team variable ?
Regards, Adil.