Jump to content

Question

Posted

Care ar fi conditia ca un player sa poata folosi o comanda de ex /carupgrade (doar cand este in masina de la casa personala) ?

Nu gasesc cum sa fac.

Multumesc Anticipat.

Si am comanda de /jetpack dar cand apas f sa scap de jetpack ramane ca un pickup rotitor ca in singleplayer si o pot lua inapoi , cum as putea face sa dispara de tot.

2 answers to this question

Recommended Posts

Posted

Faza cu jetpack-ul creezi o comanda gen: /removejp presupun ca nu sti sa faci asa cv...in fine te ajut si cu asta

[pawn]CMD:removejp(playerid, params[])

{

    if(IsPlayerConnected(playerid))

    {

        if(GetPlayerSpecialAction(playerid) == 2)

        {

        SetPlayerSpecialAction(playerid,0);

        SendClientMessage(playerid, COLOR_SaTaN, "[saTaN-CMD]: Jetpack-ul ti-a fost dezactivat!");

        SaTaNFunctJetPack[playerid] = 0;

        return 1;

}

        else

{

SendClientMessage(playerid, COLOR_SaTaN, "[saTaN-ERROR]: Nu deti un jetpack!");

        }

    }

    return 1;

}[/pawn]

Vrei ceva? [email protected]

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.