Korisne komande

Započeo Correlli, Maj 28, 2010, 16:52:57 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Ova komanda je meni bas trebala prosle godine kada sam pravio RP server i nikako je nisam mogao naci,a nisam je znao napraviti.Nadam se da ce nekome koristiti :D
Napomena:Komanda preuzeta iz GG moda

CMD:gotocp(playerid, params[])
{
if(PI[playerid][Admin] >= 6 || IsPlayerAdmin(playerid))
{
    if(IgracevCPPrikazan[playerid] == false) return SCM(playerid, GRAD2, "[{F81414}Greska!{FFFFFF}] Trenutno nije prikazan nijedan Checkpoint!");
    if(IsPlayerInAnyVehicle(playerid)) NovaPozicijaV(playerid, CheckpointX[playerid], CheckpointY[playerid], CheckpointZ[playerid]);
    else if(!IsPlayerInAnyVehicle(playerid)) SetPlayerPos_H(playerid, CheckpointX[playerid], CheckpointY[playerid], CheckpointZ[playerid]);
    SCM(playerid, GRAD2, "Teleportovani ste do checkpointa!");
}
else return SCM(playerid, GRAD2, "[{F81414}Greska!{FFFFFF}] Niste autorizovani da koristite ovu komandu!");
return 1;
}


new PI[BROJ_SLOTOVA][pInfo];

new bool:IgracevCPPrikazan[BROJ_SLOTOVA];

new Float:CheckpointX[BROJ_SLOTOVA];
new Float:CheckpointY[BROJ_SLOTOVA];
new Float:CheckpointZ[BROJ_SLOTOVA];



stock NovaPozicijaV(playerid, Float:X, Float:Y, Float:Z)
{
if(!IsPlayerConnected(playerid)) return 1;
if(!IsPlayerInAnyVehicle(playerid)) return SetPlayerPos_H(playerid, X, Y, Z);
SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
h_TogglePlayerControllable(playerid,0);//this will freeze player
SetTimerEx("Unfreeze",2000,0,"i",playerid);
return 1;
}


stock SetPlayerPos_H(playerid, Float:X, Float:Y, Float:Z)
{
if(!IsPlayerConnected(playerid)) return 1;
SetPlayerPos(playerid, X, Y, Z);
h_TogglePlayerControllable(playerid,0);//this will freeze player
SetTimerEx("Unfreeze",2000,0,"i",playerid);
return 1;
}

I to je to ;D
KOPAJ KRIPTOVALUTU TELEFONOM! >>> SAZNAJ VIŠE <<<
POČNI RADITI KAO PREDAVAČ ENGLESKOG JEZIKA! >>> SAZNAJ VIŠE <<<

@TheTorreto Komanda nije dobra, ima nepotrebnih stvari sto si stavio da se doda a i fali stock h_SetPlayerCheckPoint...

ovako bi trebalo izgledati:

CMD:gotocp(playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
    if(IgracevCPPrikazan[playerid] == false) return SCM(playerid, GRAD2, "[{F81414}Greska!{FFFFFF}] Trenutno nije prikazan nijedan Checkpoint!");
    if(IsPlayerInAnyVehicle(playerid)) NovaPozicijaV(playerid, CheckpointX[playerid], CheckpointY[playerid], CheckpointZ[playerid]);
    else if(!IsPlayerInAnyVehicle(playerid)) SetPlayerPos(playerid, CheckpointX[playerid], CheckpointY[playerid], CheckpointZ[playerid]);
    SCM(playerid, GRAD2, "Teleportovani ste do checkpointa!");
}
else return SCM(playerid, GRAD2, "[{F81414}Greska!{FFFFFF}] Niste autorizovani da koristite ovu komandu!");
return 1;
}


new bool:IgracevCPPrikazan[MAX_PLAYERS];
new Float:CheckpointX[MAX_PLAYERS];
new Float:CheckpointY[MAX_PLAYERS];
new Float:CheckpointZ[MAX_PLAYERS];


stock NovaPozicijaV(playerid, Float:X, Float:Y, Float:Z)
{
if(!IsPlayerConnected(playerid)) return 1;
if(!IsPlayerInAnyVehicle(playerid)) return SetPlayerPos(playerid, X, Y, Z);
SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
return 1;
}


stock h_SetPlayerCheckpoint(playerid, Float:X, Float:Y, Float:Z, Float:radius)
{
CheckpointX[playerid] = X;
CheckpointY[playerid] = Y;
CheckpointZ[playerid] = Z;
CheckpointR[playerid] = radius;
IgracevCPPrikazan[playerid] = true;
SetPlayerCheckpoint(playerid, X, Y, Z, radius);
return 1;
}

stock h_DisablePlayerCheckpoint(playerid)
{
CheckpointX[playerid] = 0.0000;
CheckpointY[playerid] = 0.0000;
CheckpointZ[playerid] = 0.0000;
CheckpointR[playerid] = 0.0000;
IgracevCPPrikazan[playerid] = false;
return DisablePlayerCheckpoint(playerid);
}
Poslednja Izmena: Jun 19, 2015, 22:20:16 POSLE PODNE od Vuzimir

My Bike KTM 450 SXF 2008

Citat: Vuzimir poslato Jun 19, 2015, 22:16:06 POSLE PODNE
@TheTorreto Komanda nije dobra, ima nepotrebnih stvari sto si stavio da se doda a i fali stock h_SetPlayerCheckPoint...

ovako bi trebalo izgledati:

CMD:gotocp(playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
    if(IgracevCPPrikazan[playerid] == false) return SCM(playerid, GRAD2, "[{F81414}Greska!{FFFFFF}] Trenutno nije prikazan nijedan Checkpoint!");
    if(IsPlayerInAnyVehicle(playerid)) NovaPozicijaV(playerid, CheckpointX[playerid], CheckpointY[playerid], CheckpointZ[playerid]);
    else if(!IsPlayerInAnyVehicle(playerid)) SetPlayerPos(playerid, CheckpointX[playerid], CheckpointY[playerid], CheckpointZ[playerid]);
    SCM(playerid, GRAD2, "Teleportovani ste do checkpointa!");
}
else return SCM(playerid, GRAD2, "[{F81414}Greska!{FFFFFF}] Niste autorizovani da koristite ovu komandu!");
return 1;
}


new bool:IgracevCPPrikazan[MAX_PLAYERS];
new Float:CheckpointX[MAX_PLAYERS];
new Float:CheckpointY[MAX_PLAYERS];
new Float:CheckpointZ[MAX_PLAYERS];


stock NovaPozicijaV(playerid, Float:X, Float:Y, Float:Z)
{
if(!IsPlayerConnected(playerid)) return 1;
if(!IsPlayerInAnyVehicle(playerid)) return SetPlayerPos(playerid, X, Y, Z);
SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
return 1;
}


stock h_SetPlayerCheckpoint(playerid, Float:X, Float:Y, Float:Z, Float:radius)
{
CheckpointX[playerid] = X;
CheckpointY[playerid] = Y;
CheckpointZ[playerid] = Z;
CheckpointR[playerid] = radius;
IgracevCPPrikazan[playerid] = true;
SetPlayerCheckpoint(playerid, X, Y, Z, radius);
return 1;
}

stock h_DisablePlayerCheckpoint(playerid)
{
CheckpointX[playerid] = 0.0000;
CheckpointY[playerid] = 0.0000;
CheckpointZ[playerid] = 0.0000;
CheckpointR[playerid] = 0.0000;
IgracevCPPrikazan[playerid] = false;
return DisablePlayerCheckpoint(playerid);
}


Hvala na ispravci,i sam sam danas skontao,ali zaboravio ovde editovati,inace bas mi je trebala komanda prosle godine i nikako nisam znao napraviti.
KOPAJ KRIPTOVALUTU TELEFONOM! >>> SAZNAJ VIŠE <<<
POČNI RADITI KAO PREDAVAČ ENGLESKOG JEZIKA! >>> SAZNAJ VIŠE <<<

@TheTorreto nista, samo sljedeci put malo vise pripazi i to je to :) da se ovdje ne stvara spam zbog ispravki...

My Bike KTM 450 SXF 2008

Citat: domo101 poslato Jul 18, 2015, 13:37:53 POSLE PODNE
CMD:agiveweapon(playerid, params[])
{

if(PlayerInfo[playerid][pAdmin] < 6) return SCM(playerid, -1, ""ZUTA"[BGR] "BIJELA"Samo Admini (Admin Level 6+)!");
new pplayerid,gun,ammo,string[128];
if(sscanf(params, "uii", pplayerid,gun,ammo)) return SCM(playerid,-1, ""ZUTA"BGR Pomoc | "BIJELA"/agiveweapon [ID/Nick] [Weapon ID] [Municija]");
if(pplayerid == IPI) return SCM(playerid, -1, "[BGR] "CRVENA"Taj igrac nije na serveru!");
g_GivePlayerWeapon(pplayerid, gun,ammo);
format(string,sizeof(string),""ZUTA"[BGR] "BIJELA"Admin "CRVENA"%s "BIJELA"vam je dao oruzije ID "SPLAVA"%d!",GetName(playerid),gun);
SCM(pplayerid,-1,string);
format(string,sizeof(string),""ZUTA"[BGR] "BIJELA"Dali ste oruzije ID "CRVENA"%d "BIJELA"igracu "SPLAVA"%s!",gun,GetName(pplayerid));
SCM(playerid,-1,string);
return 1;
}


Eto jedna koju sam ja koristio za svoj gm (Balkan Gaming Roleplay  |  American Cities Roleplay)

to ne služi ničemu. zašto? odakle ljudima te tvoje definicije sve?

= Komanda /zivot =

Komanda:
CMD:zivot(playerid,params[])
{
    if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid,-1,"{F81414}ERROR: Nemate dovoljno novaca."); //Provjerava ima li igrač dovoljno novaca kod sebe (postavljeno je na 500$), ako nema Å¡alje mu poruku da nema dovoljno novaca.
    SetPlayerHealth(playerid, 100.0); //Postavlja igraču život na 100.
    SendClientMessage(playerid,-1,"{00FF00}#INFO: UspjeÅ¡no ste se izliječili.");//Å alje igraču poruku da se uspjeÅ¡no izliječio.
    return 1;
}

Komentar:Ovo je osnovna komanda namjenjena početnicima u skriptanju, sve je objašnjeno. :-*

Evo od mene nesto :)

[pawn]
YCMD:selfie(playerid,params[],help)
{
    #pragma unused help
   if(UlogovanIgrac[playerid] == 0 || PI[playerid][pReg] == 0) return Error(playerid, "Nisi ulogovan/a ili nisi registrovan/a!");
    if(PI[playerid][pAdmin] < 1 && ACCmd[playerid] == 1) return Error(playerid, "Komande mozete koristiti svakih 0.5sec!");
   CmdProtect(playerid);
   if(vulkanizer[playerid] == 1) return true;
   if(VecUcitavaju[playerid] == 1) return true;
   if(IsPlayerInAnyVehicle(playerid)) return Error(playerid, "Ne mozes u vozilu ovo!");
   if(PI[playerid][pJailTime] > 0) return Error(playerid, "Ne mozes to u zatvoru!");
    if(PljackaVreme[playerid] > 0 || ZauzimanjeVreme[playerid] > 0 || Tazovan[playerid] > 0 || Zavezan[playerid] > 0 || Tie[playerid] > 0) return Error(playerid, "Ne mozes to!");
   if(PI[playerid][pMobilni] == 0) return Error(playerid, "Nemate mobilni telefon!");
   if(PI[playerid][pSurvivor] > 0) return Error(playerid, "Na survivoru si, ne mozes to!");
   if(PisanjeJok[playerid] == 1) return Error(playerid, "Ne mozes to u ovom trenutku!");
   if(drogaz[playerid] == 1) return Error(playerid, "Trenutno si u efektu droge!");
   if(kLol[playerid] > 0) return Error(playerid, "Ne mozete to!");
   if(Zavezan[playerid] > 0 || Tie[playerid] > 0 || Tazovan[playerid] > 0) return Error(playerid, "Ne mozete to dok ste zavezani/sokirani! (zbog psovanja)");
   if(TV[playerid] == 1) return Error(playerid, "Gledas tv, ne mozes to!");
   if(PI[playerid][pTogPhone] == 1) return Error(playerid, "Nije ti upaljen telefon!");
   if(PI[playerid][pRanjen] == 1) return Error(playerid, "Ne mozes to, ranjen si!");
    if(takingselfie[playerid] == 0)
    {
        GetPlayerPos(playerid,lX[playerid],lY[playerid],lZ[playerid]);
        static Float: n1X, Float: n1Y;
        if(Degree[playerid] >= 360) Degree[playerid] = 0;
        Degree[playerid] += Speed;
        n1X = lX[playerid] + Radius * floatcos(Degree[playerid], degrees);
        n1Y = lY[playerid] + Radius * floatsin(Degree[playerid], degrees);
        SetPlayerCameraPos(playerid, n1X, n1Y, lZ[playerid] + Height);
        SetPlayerCameraLookAt(playerid, lX[playerid], lY[playerid], lZ[playerid]+1);
        SetPlayerFacingAngle(playerid, Degree[playerid] - 90.0);
        lz_TogglePlayerControllable(playerid, 0);
        takingselfie[playerid] = 1;
        ApplyAnimation(playerid, "PED", "gang_gunstand", 4.1, 1, 1, 1, 1, 1, 1);
        SCM(playerid, -1, "{C3C3C3}SERVER: {FFFFFF}Trenutno si u modu slikanja selfie-a!");
        SCM(playerid, -1, "Pritisni: F8 - kada budes bio spreman da slikas selfie");
        SCM(playerid, -1, " F7 - da iskljucis chat");
        SCM(playerid, -1, " NUM6/NUM4 - da pomeras kameru.");
        SCM(playerid, -1, "Upisi: /tog hud - da iskljucis textdrawove");
        SCM(playerid, -1, " /headmove - da iskljucis mrdanje glave");
        SCM(playerid, -1, " /selfie - da izadjes iz selfie moda.");
    }
    else if(takingselfie[playerid] == 1)
    {
        lz_TogglePlayerControllable(playerid, 1);
        SetCameraBehindPlayer(playerid);
        takingselfie[playerid] = 0;
      StopLoopingAnim(playerid);
    }
    return true;
}[/pawn]

Citat: TiXoR_ poslato Jul 18, 2015, 13:39:21 POSLE PODNE
Citat: #Gimmyxa poslato Maj 11, 2016, 12:37:13 POSLE PODNE
Evo od mene nesto :)

[pawn]
YCMD:selfie(playerid,params[],help)
{
    #pragma unused help
   if(UlogovanIgrac[playerid] == 0 || PI[playerid][pReg] == 0) return Error(playerid, "Nisi ulogovan/a ili nisi registrovan/a!");
    if(PI[playerid][pAdmin] < 1 && ACCmd[playerid] == 1) return Error(playerid, "Komande mozete koristiti svakih 0.5sec!");
   CmdProtect(playerid);
   if(vulkanizer[playerid] == 1) return true;
   if(VecUcitavaju[playerid] == 1) return true;
   if(IsPlayerInAnyVehicle(playerid)) return Error(playerid, "Ne mozes u vozilu ovo!");
   if(PI[playerid][pJailTime] > 0) return Error(playerid, "Ne mozes to u zatvoru!");
    if(PljackaVreme[playerid] > 0 || ZauzimanjeVreme[playerid] > 0 || Tazovan[playerid] > 0 || Zavezan[playerid] > 0 || Tie[playerid] > 0) return Error(playerid, "Ne mozes to!");
   if(PI[playerid][pMobilni] == 0) return Error(playerid, "Nemate mobilni telefon!");
   if(PI[playerid][pSurvivor] > 0) return Error(playerid, "Na survivoru si, ne mozes to!");
   if(PisanjeJok[playerid] == 1) return Error(playerid, "Ne mozes to u ovom trenutku!");
   if(drogaz[playerid] == 1) return Error(playerid, "Trenutno si u efektu droge!");
   if(kLol[playerid] > 0) return Error(playerid, "Ne mozete to!");
   if(Zavezan[playerid] > 0 || Tie[playerid] > 0 || Tazovan[playerid] > 0) return Error(playerid, "Ne mozete to dok ste zavezani/sokirani! (zbog psovanja)");
   if(TV[playerid] == 1) return Error(playerid, "Gledas tv, ne mozes to!");
   if(PI[playerid][pTogPhone] == 1) return Error(playerid, "Nije ti upaljen telefon!");
   if(PI[playerid][pRanjen] == 1) return Error(playerid, "Ne mozes to, ranjen si!");
    if(takingselfie[playerid] == 0)
    {
        GetPlayerPos(playerid,lX[playerid],lY[playerid],lZ[playerid]);
        static Float: n1X, Float: n1Y;
        if(Degree[playerid] >= 360) Degree[playerid] = 0;
        Degree[playerid] += Speed;
        n1X = lX[playerid] + Radius * floatcos(Degree[playerid], degrees);
        n1Y = lY[playerid] + Radius * floatsin(Degree[playerid], degrees);
        SetPlayerCameraPos(playerid, n1X, n1Y, lZ[playerid] + Height);
        SetPlayerCameraLookAt(playerid, lX[playerid], lY[playerid], lZ[playerid]+1);
        SetPlayerFacingAngle(playerid, Degree[playerid] - 90.0);
        lz_TogglePlayerControllable(playerid, 0);
        takingselfie[playerid] = 1;
        ApplyAnimation(playerid, "PED", "gang_gunstand", 4.1, 1, 1, 1, 1, 1, 1);
        SCM(playerid, -1, "{C3C3C3}SERVER: {FFFFFF}Trenutno si u modu slikanja selfie-a!");
        SCM(playerid, -1, "Pritisni: F8 - kada budes bio spreman da slikas selfie");
        SCM(playerid, -1, " F7 - da iskljucis chat");
        SCM(playerid, -1, " NUM6/NUM4 - da pomeras kameru.");
        SCM(playerid, -1, "Upisi: /tog hud - da iskljucis textdrawove");
        SCM(playerid, -1, " /headmove - da iskljucis mrdanje glave");
        SCM(playerid, -1, " /selfie - da izadjes iz selfie moda.");
    }
    else if(takingselfie[playerid] == 1)
    {
        lz_TogglePlayerControllable(playerid, 1);
        SetCameraBehindPlayer(playerid);
        takingselfie[playerid] = 0;
      StopLoopingAnim(playerid);
    }
    return true;
}[/pawn]
to ne služi ničemu. zašto? odakle ljudima te tvoje definicije sve?

Tixor objasnio gore već :)

new bool:Names[MAX_PLAYERS]; NA VRH SKRIPTE
YCMD:names(playerid, params[], help)
{
    Names[playerid] = !Names[playerid];
    for(new i;i<MAX_PLAYERS;i++)
    {
        ShowPlayerNameTagForPlayer(playerid,i,Names[playerid]);
    }
    if(Names[playerid]) SendClientMessage(playerid,-1,"Nametags su ukljuceni!");
    else SendClientMessage(playerid,-1,"Nametags su iskljuceni!");
    return 1;
}
Nasao sam ovo u strcmp pa sam preveo i prilagodio,nisam ja sklapao kod samo sam preveo i dao ovamo.
heroin rap - Moskri u kuci, od sledece lajne glava ce mi puci

Evo nešto jednostavno,portanje administracije do igrača.
[pawn]
stock Ime(playerid)
{
   new pName[MAX_PLAYER_NAME];
   GetPlayerName(playerid, pName, sizeof(pName));
   return pName;
}

stock ImeIgraca(id)
{
   new pName[MAX_PLAYER_NAME];
   GetPlayerName(id, pName, sizeof(pName));
   return pName;
}

YCMD:idido(playerid, params[], help)
{
   #pragma unused help
   if(PlayerInfo[playerid][pAdmin] > 0 || PlayerInfo[playerid][pGM] > 0 || IsPlayerAdmin(playerid))
   {
      new id, string1[128], string2[128];
      new Float: x, Float: y, Float: z;
      if(sscanf(params, "u", id)) return SendClientMessage(playerid, -1, "Koristi: /ididi [id/deo imena]");
      else
      {
               if(!IsPlayerConnected(id)) return SendClientMessage(playerid, -1, "Taj igrac je offline.");
         GetPlayerPos(id, x, y, z);
                  SetPlayerPos(playerid, x, y+5, z);
         if(IsPlayerAdmin(playerid) || PlayerInfo[playerid][pAdmin] == 6)
         {
              format(string1, sizeof(string1), "Head Admin %s se teleportovao do vas.", Ime(playerid));
         }
         else if(PlayerInfo[playerid][pAdmin] > 0 && PlayerInfo[playerid][pAdmin] < 6)
         {
             format(string1, sizeof(string1), "Admin %s se teleportovao do vas.", Ime(playerid));
         }
         else if(PlayerInfo[playerid][pGM] > 0)
         {
             format(string1, sizeof(string1), "GameMaster %s se teleportovao do vas.", Ime(playerid));
         }
         SendClientMessage(id, -1, string1);
         format(string2, sizeof(string2), "Teleportovali ste se do %s.", ImeIgraca(id));
         SendClientMessage(playerid, -1, string2);
      }
   }
   else return SendClientMessage(playerid, -1, "Nemate ovlascenje za koriscenje ove komande.");
   return 1;
}[/pawn]
Poslednja Izmena: Jun 18, 2016, 13:55:48 POSLE PODNE od Pawno

Ovo vam je komanda za stit, korisno za Policiju. tj. RP servere
Prvi put da radim sa Attach objektima.
Na vrhu skripte gde su boje.

[pawn]#define ZUTA 0xFFFF00FF[/pawn]

Tamo gde su vam komande dodate ovo:

[pawn]    CMD:pdstit(playerid, params[])
    {
        #pragma unused params
        SCM(playerid, ZUTA, "Stavio si stit");
        if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
        //AttachObjectCorrectly(playerid, 18637);
        SetPlayerAttachedObject(playerid, 1, 18637, 5, -0.064955, -0.135697, -0.200892, 54.463840, 10.984453, 87.706436, 1.078429, 1.000000, 1.000000 );
        return 1;
    }[/pawn]

[pawn]    CMD:skinistit(playerid, params[],help)
    {
        #pragma unused help
        #pragma unused params
        if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1); // skida igracu stit
        return 1;
    }[/pawn]
samo rejv i debele zene

POTREBNA MI JE KOMANDA ZA /CHANGENAME da radi YCMD

Komanda da pustate IG pesme sa youtuba

[pawn] CMD:playyt( playerid, params[] ) {

    if( PlayerInfo[ playerid ][ xAdmin ] < 7 ) return GRESKA( playerid, "Nisi ovlascen da koristis ovu komandu!" );
    if( !AdminDuty[ playerid ] ) return GRESKA( playerid, "Da bi koristili ovu komandu morate biti na duznosti." );
    if( isnull( params ) ) return Usage( playerid, "/playyt [ YouTube URL ]" );

    format( params, 145, "http://www.youtubeinmp3.com/fetch/?video=%s", params );
    foreach( Player, i ) {
       StopAudioStreamForPlayer( i );
       PlayAudioStreamForPlayer( i, params );
   }

   format( globalstring, sizeof( globalstring ), ""col_red"[YOUTUBE]: "col_white"%s je pustio pesmu, da je ugasis - /stopmusic", ImeIgraca( playerid ) );
   SCMA( -1, globalstring );
    return 1;
} [/pawn]

Za stopiranje muzike

[pawn]CMD:stopmusic( playerid, params[] ) {

   StopAudioStreamForPlayer( playerid );

   Info( playerid, "Ugasio si pjesmu." );
   return 1;
} [/pawn]
Poslednja Izmena: April 08, 2017, 13:27:11 POSLE PODNE od Frenk.

Treba mi /tdoff komanda u YCMD
Respect to: Muma, King2, Harexe, kockicaa, LoOdak, Basovski, Bosnjo, Amain, Kasperzi, Faris, Andro., Edo_Castallano.


Big Respect to: LoOdaK

Citat: Ur®Osâ,,¢ poslato Maj 05, 2017, 16:13:33 POSLE PODNE
Treba mi /tdoff komanda u YCMD
[pawn]
YCMD:tdoff(playerid,params[],help)
{
    TextDrawHideForPlayer(playerid, IME TD-a);
   return 1;
}[/pawn]