Skip to main content

TextDrawDestroy

คำอธิบาย

Destroys a previously-created textdraw.

NameDescription
textThe ID of the textdraw to destroy. Returned by TextDrawCreate.

ส่งคืน

This function does not return any specific values.

ตัวอย่าง

new Text:textdraw[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
textdraw[playerid] = TextDrawCreate(...);
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
TextDrawDestroy(textdraw[playerid]);
return 1;
}

ฟังก์ชั่นที่เกี่ยวข้องกัน