23.08.2011, 15:10
Update:
Format 3Dtext:
Tags:
{NAME} - Name of teleport
{COMMAND} - Command of teleport
{PRICE} - Price of teleport
{NEWLINE} - New line
{RRGGBB}(samp) - Color of text
Function: Teleport_Set3DTextFormat
Example:
(I added this as default format)
Result:
Format 3Dtext:
Tags:
{NAME} - Name of teleport
{COMMAND} - Command of teleport
{PRICE} - Price of teleport
{NEWLINE} - New line
{RRGGBB}(samp) - Color of text
Function: Teleport_Set3DTextFormat
Example:
pawn Код:
public OnFilterScriptInit()
{
new teleportid = CreateTeleport("LS","/ls",1933.2625,-2407.8191,14.2618,183.6625);
Teleport_Set3DTextFormat(teleportid, "{0522FF}Name: {FFFFFF}{NAME}{NEWLINE}{0522FF}Command: {FFFFFF}{COMMAND}{NEWLINE}{0522FF}Price: {FFFFFF}{PRICE}");
return 1;
}
Result: