Jump to content
  • 0

Question

Posted

Cum pot face, ca atunci cand un admin foloseste comanda /giveweapon, sa apara ceva de genu:

[ADMIN]: X has used the command /giveweapon Numele armei

Nu stiu ce sa pun in comanda ca sa-mi apara si numele armei dupa /giveweapon ... :|

1 answer to this question

Recommended Posts

Posted

Like that:

Defineste Arma:

[pawn]

new gun;

gun = strval(tmp);

[/pawn]

Si Mesajul trebuie sa arate Asa:

[pawn]

GetPlayerName(playerid, sendername, sizeof(sendername));

format(string, 128, "{0099FF}[ADMIN]: {00CC00}%s {0099FF}has used the command {00CC00}/giveweapon {FF0000}[GUN ID:%d].", sendername,gun);

ABroadCast(COLOR_YELLOW,string,1);

[/pawn]

Cred ca stii unde sa adaugi asta :)

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.