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


Messages In This Thread
Where put the parameters of each command - by universe - 05.12.2010, 22:08
Re: Where put the parameters of each command - by universe - 05.12.2010, 22:12

Forum Jump:


Users browsing this thread: 1 Guest(s)