error 029: invalid expression, assumed zero - 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)
+--- Thread: error 029: invalid expression, assumed zero (
/showthread.php?tid=577477)
error 029: invalid expression, assumed zero -
Muted - 11.06.2015
Код:
stock Pickup(model,type,Float:x,Float:y,Float:z,text[],color,distance)
{
CreatePickup(model,type,x,y,z);
Create3DTextLabel(text[],color,x,y,x,distance,0,0);
}
Re: error 029: invalid expression, assumed zero -
Jefff - 11.06.2015
Should be
Create3DTextLabel(text,
not
Create3DTextLabel(text[],
+
distance) in stock should be Float:distance)
Re: error 029: invalid expression, assumed zero -
UltraScripter - 11.06.2015
stock Pickup(model,type,Float
,Float:y,Float:z,text[],color,Float:distance)
{
CreatePickup(model,type,x,y,z);
Create3DTextLabel(text,color,x,y,x,distance,0,0);
}
Re: error 029: invalid expression, assumed zero -
Muted - 11.06.2015
Ok, thanks.