Jump to content

Question

Posted

1) Cum fac sa imi dispara acest Msj cand dau click?

untitled.png

2 ) Am un sstem Vup in GM si are un bug... Porneste optiunea vup .. dar nu gasesc tasta dupa care sa ridic masina in sus! (Ar trebui dupa caps lock dar nu merge .. )

3) Am un reaction test! Unde gasesc timerul? e setat la 13 min , eu vreau sa il dau la 2 min ... cum fac?

Multumesc Sa-mp.ro

1 answer to this question

Recommended Posts

Posted

1.[pawn]public OnPlayerClickTextDraw(playerid, Text:clickedid)

{

if(_:clickedid != INVALID_TEXT_DRAW) // Se verifica daca jucatorul a selectat un textdraw valid si va permite jucatorului sa continuie.

    {

    if(clickedid == xxx) // daca jucatorul a dat click pe Textdraw-ul deagle, ii va da un deagle si ii va trimite un mesaj

    {

    SendClientMessage(playerid, -1, "Ai primit un deagle!"); // mesajul trimis

    GivePlayerWeapon(playerid, 24, 100); // jucatorul primeste arma

    }

    else if(clickedid ==xxx)

    {

    GivePlayerWeapon(playerid, 31, 100); // jucatorul primeste arma

    SendClientMessage(playerid, -1, "Ai primit m4!"); // mesajul trimis

    }

    // Textdraw-urile vor fi ascunse dupa ce jucatorul va da click pe unul din ele.

    TextDrawHideForPlayer(playerid, xxx);

    TextDrawHideForPlayer(playerid, xxx);

    TextDrawHideForPlayer(playerid, xxx);

    CancelSelectTextDraw(playerid); // Acum jucatorul nu poate sa mai dea click pe textdraw

}

    return 1;

} [/pawn]Unde xxx e numele TextDraw-ului tau.

2.Posteaza VUP sistem-ul.

Drift Moment In development

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.