SendClientMessage FR

From SA-MP Wiki

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

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

Next diff →
Line 20: Line 20:
<h3>'''Fonctions Relatives'''</h3> <h3>'''Fonctions Relatives'''</h3>
-{{SendClientMessageToAll}}+*[http://wiki.sa-mp.com/wiki/SendClientMessageToAll_FR SendClientMessageToAll]
-{{SendPlayerMessageToPlayer}}+*[http://wiki.sa-mp.com/wiki/SendPlayerMessageToPlayer_FR SendPlayerMessageToPlayer]
-{{SendPlayerMessageToAll}}+*[http://wiki.sa-mp.com/wiki/SendPlayerMessageToAll_FR SendPlayerMessageToAll]
-[[Category:Scripting Functions]]+[http://wiki.sa-mp.com/wiki/Category:Scripting_Functions_FR Categorie: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

Categorie:Les Fonctions