Why does this not create the Textlabel?
#1

Hey why does this label dont spawn?

Код:
if(model < 400 && model > 611){
for(new i = 0; i < sizeof(dmPickInfo); i++)
  	{
  	    if(dmPickInfo[i][dmCreated] == 0)
	   	{
	   	    new vehName[128];
	   	    format(vehName,sizeof(vehName),"{FF0000}[{0076FC}%s{FF0000}]",CarName[model - 400]);
            dmPickInfo[i][dmCreated] = 1;
            dmPickInfo[i][dmType] = model;
            dmPickInfo[i][dmX] = x;
            dmPickInfo[i][dmY] = y;
            dmPickInfo[i][dmZ] = z;
            dmPickInfo[i][dmSphere] = CreateDynamicSphere(x, y, z, 2);
			dmPickInfo[i][dmText] = Create3DTextLabel(vehName,-1,x,y,z+0.7,300.0,0,0);
  	    }
  	}
Reply
#2

ok i found out it just spawns the first pickup
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)