Hallo leute,
wollte mal wissen, wie ich es mache, dass wenn jemand im DM stadium stirbt, wieder in den Dialog kommt, bei dem er Team usw. auswählen kann?
Hier erstmal das zum joinen:
Code
if(dialogid == 611)
{
if(!response)
{ return ShowPlayerBriefcaseDialog(playerid); }
else
{
SetPlayerTeam(playerid, NO_TEAM);
Team[playerid]=0;
SetPlayerSkin(playerid, 28);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerColor(playerid, 0xFFFFFFFF);
SetPlayerPos(playerid, -1398.103515, 937.631164, 1036.479125);
SetPlayerInterior(playerid, 15);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 1000000);
GivePlayerWeapon(playerid, 27, 1000000);
GivePlayerWeapon(playerid, 31, 1000000);
GivePlayerWeapon(playerid, 16, 1);
new string[1000];
format(string, sizeof(string), ""COL_ORANGE"%s (%d) has joined Deathmatch Stadium.", PlayerName(playerid), playerid);
SCMToAll(-1, string);
GameTextForPlayer(playerid, "~w~Type ~r~/Kill ~w~To Exit ~n~DM Stadium", 3000, 3);
}
}
Alles anzeigen
und dialog zum teamswitch:
Hoffe mir kann jemand weiterhelfen
//Edit:
Habs raus :DD