SetPlayerPos(playerid, 538.99822998047,-5008.1762695313,54.348358154297);
GivePlayerWeapon(playerid, 16, 10);
GivePlayerWeapon(playerid, 30, 1000);
GivePlayerWeapon(playerid, 32, 1000);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerTeam(playerid, 1);
GivePlayerWeapon(playerid, 16, 10);
GivePlayerWeapon(playerid, 31, 1000);
GivePlayerWeapon(playerid, 32, 1000);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerTeam(playerid, 2);
SetPlayerPos(playerid, 440.7190246582,-5262.0258789063,51.820499420166);
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/DM", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0x33AA33AA, "Choose a Team");
SendClientMessage(playerid, 0x33AA33AA, "For team 1 type (/team1)");
SendClientMessage(playerid, 0x33AA33AA, "For team 2 type (/team2)");
return 1;
}
if (strcmp("/Team1", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0x33AA33AA, "You chose (Team1)");
GivePlayerWeapon(playerid, 16, 10);
GivePlayerWeapon(playerid, 30, 1000);
GivePlayerWeapon(playerid, 32, 1000);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerTeam(playerid, 1);
SetPlayerPos(playerid, 538.99822998047,-5008.1762695313,54.348358154297);
return 1;
}
if (strcmp("/Team2", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0x33AA33AA, "You chose (team2)");
GivePlayerWeapon(playerid, 16, 10);
GivePlayerWeapon(playerid, 31, 1000);
GivePlayerWeapon(playerid, 32, 1000);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerTeam(playerid, 2);
SetPlayerPos(playerid, 440.7190246582,-5262.0258789063,51.820499420166);
return 1;
}
return 0;
}
Originally Posted by [MSc
SysRq ]
Good job, some objects looking like hitman 2 mission on arabic . |
Originally Posted by Hawk-Eye Mihawk
Nice map man i will add it on my Counter Strike server thank you.
|
Originally Posted by [ECR
TheGame ]
awesome work. 9/10 |