- 0
0.3d RC2 / 0.3c R5 - OnPlayerText
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
LaZ
[pawn]
public OnPlayerText(playerid, text[ ])
{
new textv2[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof (name));
format(textv2, sizeof (textv2), "%d >> %s: %s", playerid, name, text);
SendPlayerMessageToAll(playerid, textv2);
return 0;
}
[/pawn]
Isi da seama cineva ce-i gresit aici ?
Link to comment
Share on other sites
16 answers to this question
Recommended Posts