Description:
Cancel textdraw selection with the mouse
Parameters:
(playerid)
playerid The ID of the player that should be the textdraw selection disabled
Return Values:
This function does not return any specific values.
Example Usage:
Cancel textdraw selection with the mouse
Parameters:
(playerid)
playerid The ID of the player that should be the textdraw selection disabled
Return Values:
This function does not return any specific values.
Example Usage:
- Código:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/cancelselect", true))
{
CancelSelectTextDraw(playerid);
SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: TextDraw selection disabled!");
return 1;
}
return 0;
}
Creditos: WIKI SA-MP