Jump to content

Question

5 answers to this question

Recommended Posts

Posted

Poftim

if(strcmp(cmd, "/jetpack", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

    if (PlayerInfo[playerid][pAdmin] < 1337)

{

    SendClientMessage(playerid, COLOR_GRAD1, "  You are not authorized to use that command!");

    return 1;

}

SetPlayerSpecialAction(playerid,2);

SendClientMessage(playerid, COLOR_YELLOW2, "You have been given an Admin JetPack");

SendClientMessage(playerid, COLOR_YELLOW2, "Don't abuse it !");

}

return 1;

}

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Guest DieselDodge
Posted

Scuze ca intreb si poate e prea tarziu. Sunt incepator. As vrea sa stiu unde in script adaug aceste linii?

De mentionat: Folosesc gamemod-ul The Godfather.

Multumesc!

Posted

Scuze ca intreb si poate e prea tarziu. Sunt incepator. As vrea sa stiu unde in script adaug aceste linii?

De mentionat: Folosesc gamemod-ul The Godfather.

Multumesc!

la public OnPlayerCommandText(playerid, cmdtext[])

Guest DieselDodge
Posted

A mers, mersi!

Gata, m-am prins cum se face de acum.  ::)

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.