SendClientMessage FR

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:29, 5 January 2013
Connor Mead (Talk | contribs)

← Previous diff
Revision as of 03:29, 5 January 2013
Connor Mead (Talk | contribs)

Next diff →
Line 24: Line 24:
*[http://wiki.sa-mp.com/wiki/SendPlayerMessageToAll_FR SendPlayerMessageToAll] *[http://wiki.sa-mp.com/wiki/SendPlayerMessageToAll_FR SendPlayerMessageToAll]
-[http://wiki.sa-mp.com/wiki/Category:Scripting_Functions_FR Categorie:Les Fonctions]+[[Category:Les Fonctions]]

Revision as of 03:29, 5 January 2013




Cette fonction peut-être utilisée pour envoyer un message à un joueur en particulier.

Parameters:
(playerid, color, const message[])
playeridL'ID du joueur qui recevra le message
colorLa couleur du message
const message[]Le texte envoyé au joueur (Taille maximale : 144)

Return Values:

This function does not return any specific values.


public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, COLOR_GREEN, "Bienvenue sur mon serveur!");
    return 1;
}
Image:32px-Ambox_warning_orange.png

Note

Utilisez l'intégration des couleurs pour mettre plusieurs couleurs dans le texte


Fonctions Relatives