05.12.2010, 22:08
Also i catched a example from here: https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
Parameters: (playerid, text[], color, Float:X, Float:Y, Float:Z, FloatrawDistance, attachedplayer, attachedvehicle, testLOS)
Command
public OnPlayerCommandText(їParameters goes here?)
{
if(strcmp(cmd, "/playerlabel", true) == 0)
new PlayerText3Dlayertextid;
new Float:X, Float:Y, Float:Z;
GetPlayerPos( playerid, X, Y, Z );
playertextid = CreatePlayer3DTextLabel(playerid,"Hello\nI'm at your position",0x008080FF,X,Y,Z,40.0 Or here? after every coma?);
return 1;
}
Parameters: (playerid, text[], color, Float:X, Float:Y, Float:Z, FloatrawDistance, attachedplayer, attachedvehicle, testLOS)
Command
public OnPlayerCommandText(їParameters goes here?)
{
if(strcmp(cmd, "/playerlabel", true) == 0)
new PlayerText3Dlayertextid;
new Float:X, Float:Y, Float:Z;
GetPlayerPos( playerid, X, Y, Z );
playertextid = CreatePlayer3DTextLabel(playerid,"Hello\nI'm at your position",0x008080FF,X,Y,Z,40.0 Or here? after every coma?);
return 1;
}