/dm with 2 Team - Not Making Gamemode DM - 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: /dm with 2 Team - Not Making Gamemode DM (
/showthread.php?tid=276809)
EDITED: Disable The Player Arrow When They on DM - Read More -
lyrics - 15.08.2011
Hey i like when player teleport dm and choose a team yeah it will set the color
i want it only inside the dm will see the color and see the player
i mean it when player is not dm and on dm area the player must be disappear and cant see the Player Arrow
How can i do that?
Heres My Code
pawn Код:
if(strcmp("/dm1", cmdtext, true, 10) == 0)
{
if(InSpawn[playerid] == true) return SendClientMessage(playerid, COLOR_RED, "You can't use this command while on class selection");
if(GetPVarInt(playerid, "InDm") == 1) return SendClientMessage(playerid,COLOR_RED, "You are already in DM Area");
SetPVarInt(playerid, "skin", GetPlayerSkin(playerid));
SetPVarInt(playerid, "InDm", 1);
new pName[MAX_PLAYER_NAME];
new string[128];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string, sizeof(string), "{FFFFFF}[SERVER]:{FF002B}%s has teleported to {FFFFFF}Deathmatch Area 1 - DM Area 1 (/dm1)",pName);
SendClientMessageToAll(COLOR_RED, string);
SendClientMessage(playerid, COLOR_GREEN,"Welcome To DM Area");
GameTextForPlayer(playerid,"~w~Welcome To ~r~Death ~g~Match ~y~Area 1",3000,3);
SetPlayerPos(playerid,1050.6841,938.1620,18.5841);
SetPlayerFacingAngle(playerid,143);
ShowPlayerDialog(playerid,8,DIALOG_STYLE_LIST,"Choose Your Team!","Team Xtreme Stunting Mafia\nTeam Xtreme Stunting Killers","Choose","Exit");
return 1;
}
Hope you help me
Re: /dm with 2 Team - Not Making Gamemode DM -
Darnell - 15.08.2011
You are coming to us, we a new
script request atleast each hour.
This is scripting discussion, not
script requesting.
SCRIPT REQUESTING.
To mention it again ?
Re: /dm with 2 Team - Not Making Gamemode DM -
lyrics - 15.08.2011
Huh? you go here for nothing
if you go here for the code give me the code
Re: /dm with 2 Team - Not Making Gamemode DM -
Darnell - 15.08.2011
1.
READ THIS BEFORE POSTING! (RULES TO FOLLOW)
Quote:
Originally Posted by READ THIS BEFORE POSTING
B) Do not bump
Some people apparently think they are important enough to bump their own topic after 10 minutes.
You can bump topics when the last reply is at least 48 hours old, and it needs to have useful information about your problem.
|
2.I don't understand what you want us to do.
3.
SCRIPT REQUESTING.
Re: /dm with 2 Team - Not Making Gamemode DM -
Tigerbeast11 - 15.08.2011
I think he wants to set a team for players when they type /dm1 and so on. Correct me if Im wrong?
Re: /dm with 2 Team - Not Making Gamemode DM -
lyrics - 16.08.2011
Your correct but not set i mean choose team system
Re: /dm with 2 Team - Not Making Gamemode DM -
Kingunit - 16.08.2011
Quote:
Originally Posted by lyrics
Your correct but not set i mean choose team system
|
If you use the search function you find some tutorials to make teams.
Re: /dm with 2 Team - Not Making Gamemode DM -
lyrics - 16.08.2011
EDITED: New This is about a Team Player Color