Jump to content
  • 0

Scurtare o comanda Teleport


[.E.m.O.]K1DDU

Question

Hi ^^ All :)

Cine imi poate scurta si mie o Comanda destul de lunga o Comanda Teleport!

As vrea sa imi scoata cineva din acea comanda, tot ce apartine de chestia cu TextDraw, acel TextDraw care apare jos atunci cand jucatorul foloseste comanda si jos apare "x a mers la /x"

Va rog :) doar aia as vrea sa imi scoateti (EU MA REFEREAM... SA O SCURTEZ :D OK II FOARTE LUNGA SI DACA O SCURTEZ EU IMI DA ERORI DUPA :| )

Uitati aici Comanda TELES

[pawn]    if (strcmp(cmdtext, "/mhp", true) == 0) {

ResetPlayerWeapons(playerid);

    if (IsPlayerInAnyVehicle(playerid)) {

    SetVehicleVirtualWorld(GetPlayerVehicleID(playerid),0);

    SetPlayerVirtualWorld(playerid, 0);

    SetVehiclePos(GetPlayerVehicleID(playerid),679.7295,-1885.9618,4.0369 );

    SetVehicleZAngle(GetPlayerVehicleID(playerid), 266.558685);

    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);

    }

    if (!IsPlayerInAnyVehicle(playerid)) {

SetPlayerVirtualWorld(playerid, 0);

    SetPlayerPos(playerid,679.7295,-1885.9618,4.0369 );

    SetPlayerFacingAngle(playerid, 266.558685);

    SetPlayerInterior(playerid, 0);

    }

    SetPlayerWorldBounds(playerid, 20000.0000,-20000.0000,20000.0000,-20000.0000); // Bounderies Off//

    GameTextForPlayer(playerid,"~r~~h~Welcome to Mini HalfPipe!",3000,5);

    GetPlayerName(playerid, pname, sizeof (pname));

    format(string3, sizeof(string3),"~r~%s ~g~~h~has Gone To ~b~Nrgs~r~~h~(/mhp)", pname);

    TextDrawDestroy(Text:Reclama);

    Reclama = TextDrawCreate(250.000000, 435.000000, " ");

    TextDrawFont(Reclama, 1);

    TextDrawLetterSize(Reclama, 0.300000, 1.000000);

    TextDrawColor(Reclama, 0x00C2ECFF);TextDrawBackgroundColor(Reclama, 0xFFFF00AA);

    TextDrawSetOutline(Reclama, 1);

    TextDrawSetProportional(Reclama, 1);

    TextDrawSetShadow(Reclama, 1);

    TextDrawShowForAll(Reclama);

    TextDrawSetString(Reclama, string3);

    SetTimer("reclamatime",10000,false);

    DM[playerid] = 0;

    return 1;

}[/pawn]

Va Multumesc  ;)


F*ck everybody who want and who try to judge me for who I am, b*star*s !

 

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Da thanks...

Asta stiu si eu xD :P

Eu vroiam sa vad, daca cineva va lasa Linia "    DM[playerid] = 0;" si chestia ce tine ca sa nu primesti crash uneori ..... xD


F*ck everybody who want and who try to judge me for who I am, b*star*s !

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.