26.01.2014, 18:21
I tried to make a new function that allows you to create a pickup with attached 3d text.
But i get this error : C:\Users\TOSHIBA\Desktop\Project Work\gamemodes\TWC2.pwn(890) : error 029: invalid expression, assumed zero ( the Create3DTextLabel line)
any help?
PHP код:
stock CreatePickupWith3DText(model, type, Float:X, Float:Y, Float:Z, Virtualworld, text[], color)
{
CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z+0.75, 0, Virtualworld, 1);
return 1;
}
any help?