/dm 1/ command / zone is Occupied
#6

PHP код:
new dm1dm2dm3;
CMD:degaltraining3(playeridparams[])
{
  
SetPlayerVirtualWorld(playerid71);
  
TrainingObject[playerid] =CreatePlayerObject(playerid,1211,1433.4250,1345.5702,10.81300.000000.0000090.00000);
  
SendClientMessage(playerid, -" {ff0000}WARNING: {ffffff}You MUST use {e60000}/leavetraining {ffffff}to exit the zone. Or els you will be bugged!");
  
SendClientMessage(playerid, -" {ff0000}WARNING: {ffffff}You MUST use {e60000}/leavetraining {ffffff}to exit the zone. Or els you will be bugged!");
  
SendClientMessage(playerid, -" {ff9900}V1 Aim Training System. By Beasthian.{ffffff} Enjoy the Aim Training System! The system is to have future updates, stay tuned.");
  if(
dm3 == 1SendClientMessage(playerid, -" This zone is already in use, Please use /degaltraining or /degaltraining2");
  
ResetPlayerWeapons(playerid);
  
GameTextForPlayer(playerid"~w~ Begin~r~!"50006);
  
GivePlayerWeapon(playerid241000);
  
SetPlayerPos(playerid1433.5638,1328.6313,10.8203);  SetPlayerFacingAngle(playerid,357.6768);
  new 
name[MAX_PLAYER_NAME],str[128];
  
GetPlayerName(playerid,name,sizeof(name));
  
format(str,sizeof(str),"{00ff00}%s {ffffff}has joined degal training area. [/degaltraining3] | Zone [3]",name);
  
SendClientMessageToAll(-1,str);
  
dm3 1;
  return 
1;
}
CMD:degaltraining2(playeridparams[])
{
  
SetPlayerVirtualWorld(playerid71);
  
TrainingObject[playerid] =CreatePlayerObject(playerid,1211,1433.4250,1345.5702,10.81300.000000.0000090.00000);
  
SendClientMessage(playerid, -" {ff0000}WARNING: {ffffff}You MUST use {e60000}/leavetraining {ffffff}to exit the zone. Or els you will be bugged!");
  
SendClientMessage(playerid, -" {ff0000}WARNING: {ffffff}You MUST use {e60000}/leavetraining {ffffff}to exit the zone. Or els you will be bugged!");
  
SendClientMessage(playerid, -" {ff9900}V1 Aim Training System. By Beasthian.{ffffff} Enjoy the Aim Training System! The system is to have future updates, stay tuned.");
  if(
dm2 == 1SendClientMessage(playerid, -" This zone is already in use, Please use /degaltraining or /degaltraining3");
  
ResetPlayerWeapons(playerid);
  
GameTextForPlayer(playerid"~w~ Begin~r~!"50006);
  
GivePlayerWeapon(playerid241000);
  
SetPlayerPos(playerid1433.5638,1328.6313,10.8203);  SetPlayerFacingAngle(playerid,357.6768);
  new 
name[MAX_PLAYER_NAME],str[128];
  
GetPlayerName(playerid,name,sizeof(name));
  
format(str,sizeof(str),"{00ff00}%s {ffffff}has joined degal training area. [/degaltraining3] | Zone [3]",name);
  
SendClientMessageToAll(-1,str);
  
dm2 1;
  return 
1;

Reply


Messages In This Thread
/dm 1/ command / zone is Occupied - by Beasthian - 29.03.2016, 00:53
Re: /dm 1/ command / zone is Occupied - by saffierr - 29.03.2016, 08:47
Re: /dm 1/ command / zone is Occupied - by Beasthian - 29.03.2016, 10:43
Re: /dm 1/ command / zone is Occupied - by saffierr - 29.03.2016, 10:57
Re: /dm 1/ command / zone is Occupied - by Beasthian - 29.03.2016, 11:05
Re: /dm 1/ command / zone is Occupied - by saffierr - 29.03.2016, 11:11
Re: /dm 1/ command / zone is Occupied - by Beasthian - 29.03.2016, 11:57
Re: /dm 1/ command / zone is Occupied - by Mencent - 29.03.2016, 15:16

Forum Jump:


Users browsing this thread: 1 Guest(s)