3dLabel do not appear - 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: 3dLabel do not appear (
/showthread.php?tid=119046)
3dLabel do not appear -
wiilweer - 06.01.2010
It appears without ID but if i use ID then it wont appear.
Code :
pawn Код:
new Text3D:Alahambra;
OnGameModeInit()
Alahambra = Create3DTextLabel("Alahambra",0x008080FF, 1836.7153,-1682.4954,13.3364,40.0,0);
And my update command:
pawn Код:
CMD:change(playerid, params[])
{
new text;
if (sscanf(params, "i", text)) return SendClientMessage(playerid, LIGHTGREEN, "USaGE: /chagne [text]");
new string[128];
format(string, sizeof(string), "%s", text);
Update3DTextLabelText(Alahambra, COLOR_GRAD2, string);
return 1;
}
Re: 3dLabel do not appear -
¤Adas¤ - 06.01.2010
omg, text is a string.. use:
new text[50];
and sscanf(params, "s", text)...
Re: 3dLabel do not appear -
wiilweer - 06.01.2010
Yeah okay, but the 3dLabel does not show itself at all. he even wont appear
Re: 3dLabel do not appear -
¤Adas¤ - 06.01.2010
I dont know maybe I dont have enough info..
Re: 3dLabel do not appear -
wiilweer - 06.01.2010
Any help ?
Re: 3dLabel do not appear -
Retardedwolf - 06.01.2010
Quote:
Originally Posted by wiilweer
pawn Код:
CMD:[color=red]change[/color](playerid, params[]) if (sscanf(params, "i", text)) return SendClientMessage(playerid, LIGHTGREEN, "USaGE: /chagne [text]");
|
Just pointing out a mistake.