Jump to content
  • 0

Question

6 answers to this question

Recommended Posts

Posted

Trebuie sa editezi la functia:

public OnPlayerText ( playerid , text [ ] )

Daca este GF/RP/RPG sigur vei avea un format care sa contina cuvintele: %s says %s:.Deasupra acelui format vei avea un new (ex: new string [ 256 ] ;).Tu trebuie sa modifici acele caractere ( 256 ).

Posted

[pawn]public OnPlayerText(playerid, text [ ] )

{

new giver[MAX_PLAYER_NAME];

new sendername[MAX_PLAYER_NAME];

new giveplayer[MAX_PLAYER_NAME];

new tmp[128];

new string[256];

new giveplayerid;

new y,m,d;

new h,mi,s;

getdate(y,m,d);

gettime(h,mi,s);

if(PlayerInfo[playerid][pMuted] == 1)

{

SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced");

return 0;

}[/pawn]

Asta are Ursachi in gamemod si nu stie ce ar putea modifica, ca noi am incercat sa modificam la [pawn]new string[256];[/pawn] dar nu ne-a iesit, noi vrem sa se modifice si in (pm-uri,chat-ul adminilor,chat-ul liderilor etc.)

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.