23.09.2013, 11:25
(
Последний раз редактировалось DaniceMcHarley; 01.06.2017 в 02:40.
)
------
Originally Posted by SA:MP Wiki
Create3DTextLabel
[...] Important Note: If text[] is empty, the server/clients next to the text might crash! |
if(strlen(inputtext) != 0) Create3DTextLabel(inputtext,playercolor,30.0,x,y,z,0);
CMD:spray(playerid,params[])
{
if(gInfo[playerid][isPainted] == 1)
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Spray Tag","Please insert what you'd like to spray on the wall \n {FF0000} (( WARNING : SPRAYING RANDOM BULLSHIT WILL RESULT INTO A PUNISHMENT ))","Spray","Cancel");
gInfo[playerid][isPainted] = 0;
}
else
{
// do nothing
}
}
if(dialogid == 123)
I have no dialog which is 1, my dialogs starts with 2000,2001 blabla.
EDIT: There's no issue with showing the dialog and the RESPONSE it's just the 3D text isn't appearing. |
Create3DTextLabel(inputtext, playercolor, x, y, z, 30.0, 0, 0);