Where put the parameters of each command
#1

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;
}
Reply
#2

i dont understand sorry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)