Make a system of deathmatch -
jcvag44800 - 28.10.2011
Hi all,
I would like to help a system of advanced deathmatch.
I would like a scoring system,
When a person dies, she can not play, and must wait for other people die too.
And when everyone is dead and there is no more a person, the winning team receives a point.
Where to start?
cordially
Re: Make a system of deathmatch -
Stigg - 28.10.2011
Heres a tutorial on a simple mini game base:
https://sampforum.blast.hk/showthread.php?tid=216662
Should help you get started.
Re : Make a system of deathmatch -
jcvag44800 - 28.10.2011
I have already created my TDM, but I don't have make the system ( Look my first post ^^ )
Re: Make a system of deathmatch -
Stigg - 28.10.2011
It would help if we could see what you have so far then.
Re : Make a system of deathmatch -
jcvag44800 - 28.10.2011
Код:
else if (dialogid == 7)
{
if(response)
{
switch(listitem)
{
case 0: // Armйe
{
SetPlayerPos(playerid,-1322.2943,465.9304,7.1875);
PlayerInfo[playerid][pTDM] = 1;
PlayerInfo[playerid][pTeam] = 1;
jtdm1++;
SetPlayerVirtualWorld(playerid, 40);
SetPlayerColor(playerid, COLOR_GREEN);
new name[MAX_PLAYER_NAME], string[459];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s est aller dans un TeamDeathmatch /tdm pour le rejoindre.",name);
SendClientMessageToAll(0xFF8080FF, string);
SendClientMessage(playerid,COLOR_YELLOW,"Vous pouvez quitter le TeamDeathmatch grace а la commande /exittdm.");
GivePlayerWeapon(playerid,24, 9999999);
GivePlayerWeapon(playerid,35, 9999999);
GivePlayerWeapon(playerid,31, 9999999);
GivePlayerWeapon(playerid,29, 9999999);
}
case 1: // Terroriste
{
SetPlayerPos(playerid,314.0982,1856.1180,17.6406);
PlayerInfo[playerid][pTDM] = 1;
PlayerInfo[playerid][pTeam] = 2;
jtdm1++;
SetPlayerVirtualWorld(playerid, 40);
SetPlayerColor(playerid, COLOR_RED);
new name[MAX_PLAYER_NAME], string[459];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s est aller dans un TeamDeathmatch /tdm pour le rejoindre.",name);
SendClientMessageToAll(0xFF8080FF, string);
SendClientMessage(playerid,COLOR_YELLOW,"Vous pouvez quitter le TeamDeathmatch grace а la commande /exittdm.");
GivePlayerWeapon(playerid,24, 9999999);
GivePlayerWeapon(playerid,35, 9999999);
GivePlayerWeapon(playerid,30, 9999999);
GivePlayerWeapon(playerid,29, 9999999);
}
}
}
}
Re : Make a system of deathmatch -
jcvag44800 - 28.10.2011
up please
Re : Make a system of deathmatch -
jcvag44800 - 29.10.2011
up !