Intri in GM (Game-modes) si scri urmatoarele lucruri
if(!strcmp(cmdtext, "/ NUMELE Teleportarii", true))
{
SetPlayerPos(playerid, AiCi pui coordonatele teleportarii pe care le iei din MTA); GameTextForPlayer(playerid,"~r~~h~WeLcOmE To NumelE",3000,5);
GetPlayerName(playerid, pname, sizeof (pname));
format(string3, sizeof(string3),"%s HaS GoNe To NUMELE ~r~(/ NUMELE)~p~", pname);
TextDrawDestroy(Text:Reclama);
Reclama = TextDrawCreate(250.000000, 435.000000, " ");
TextDrawFont(Reclama, 1);
TextDrawLetterSize(Reclama, 0.300000, 1.000000);
TextDrawColor(Reclama, 0x00C2ECFF);
TextDrawSetOutline(Reclama, 1);
TextDrawSetProportional(Reclama, 1);
TextDrawSetShadow(Reclama, 1);
TextDrawShowForAll(Reclama);
TextDrawSetString(Reclama, string3);
SetTimer("reclamatime",10000,false);
ResetPlayerWeapons(playerid);
SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000);
DM[playerid] = 0;
return 1;
}
if(!strcmp(cmdtext, "/ NUMELE Teleportarii", true))
{
SetPlayerPos(playerid, AiCi pui coordonatele teleportarii pe care le iei din MTA); GameTextForPlayer(playerid,"~r~~h~WeLcOmE To NumelE",3000,5);
GetPlayerName(playerid, pname, sizeof (pname));
format(string3, sizeof(string3),"%s HaS GoNe To NUMELE ~r~(/ NUMELE)~p~", pname);
TextDrawDestroy(Text:Reclama);
Reclama = TextDrawCreate(250.000000, 435.000000, " ");
TextDrawFont(Reclama, 1);
TextDrawLetterSize(Reclama, 0.300000, 1.000000);
TextDrawColor(Reclama, 0x00C2ECFF);
TextDrawSetOutline(Reclama, 1);
TextDrawSetProportional(Reclama, 1);
TextDrawSetShadow(Reclama, 1);
TextDrawShowForAll(Reclama);
TextDrawSetString(Reclama, string3);
SetTimer("reclamatime",10000,false);
ResetPlayerWeapons(playerid);
SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000);
DM[playerid] = 0;
return 1;
}