Where put the parameters of each command - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Where put the parameters of each command (
/showthread.php?tid=196554)
Where put the parameters of each command -
universe - 05.12.2010
Also i catched a example from here:
https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
Parameters: (playerid, text[], color, Float:X, Float:Y, Float:Z, Float
rawDistance, attachedplayer, attachedvehicle, testLOS)
Command
public OnPlayerCommandText(
Ń—Parameters goes here?)
{
if(strcmp(cmd, "/playerlabel", true) == 0)
new PlayerText3D
layertextid;
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;
}
Re: Where put the parameters of each command -
universe - 05.12.2010
i dont understand sorry