New Function error
#1

I tried to make a new function that allows you to create a pickup with attached 3d text.

PHP код:
stock CreatePickupWith3DText(modeltypeFloat:XFloat:YFloat:ZVirtualworldtext[], color)
{
    
CreatePickup(modeltypeFloat:XFloat:YFloat:ZVirtualworld);
    
Create3DTextLabel(text[], colorFloat:XFloat:YFloat:Z+0.750Virtualworld1);
    return 
1;

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?
Reply


Messages In This Thread
New Function error - by Battlezone - 26.01.2014, 18:21
Re: New Function error - by Scottas - 26.01.2014, 19:17
Re : New Function error - by Battlezone - 27.01.2014, 10:51
Re: New Function error - by Misiur - 27.01.2014, 10:53
Re : Re: New Function error - by Battlezone - 27.01.2014, 10:58
Re: New Function error - by Misiur - 27.01.2014, 11:00
Re : Re: New Function error - by Battlezone - 27.01.2014, 11:03

Forum Jump:


Users browsing this thread: 1 Guest(s)