CancelSelectTextDraw FR

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 14:42, 10 December 2016
OstGot (Talk | contribs)

← Previous diff
Current revision
OstGot (Talk | contribs)

Line 32: Line 32:
{{OnPlayerClickTextDraw}} {{OnPlayerClickTextDraw}}
-[[Category:Scripting Functions]]+[[Category:Scripting Functions FR]]
[[de:CancelSelectTextDraw]] [[de:CancelSelectTextDraw]]

Current revision


CancelSelectTextDraw

CancelSelectTextDraw FR was added in SA-MP 0.3e This function was added in SA-MP 0.3e and will not work in earlier versions!


Description:

Cancel textdraw selection with the mouse


Paramètres:
(playerid)
playeridThe ID of the player that should be the textdraw selection disabled


RetourneCette fonction ne retourne pas de valeur spécifique.


Exemple d'utilisation:

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/cancelselect", true))
    {
        CancelSelectTextDraw(playerid);
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: TextDraw selection disabled!");
        return 1;
    }
    return 0;
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

  • SelectTextDraw: Enables the mouse, so the player can select a textdraw


Related Callbacks

The following callbacks might be useful, as they're related to this function in one way or another.

Personal tools
In other languages