Create3dTextLabel to All CheckPoints?
#1

I want to created all cp to 3dtextlabel.How to make?

This code set in the midst cp to map icon;

Код:
SetPlayerMapIcon(playerid, i, Areas[i][cpX], Areas[i][cpY], Areas[i][cpZ], 19, -1, MAPICON_LOCAL);
existing defined;

Код:
 Areas[areaid][aName]);
Reply
#2

Create3DTextLabel
Reply
#3

Quote:
Originally Posted by Gammix
Посмотреть сообщение
No you dont understand me.

i need this code but my write value

Код:
format(tmp, sizeof(tmp), "{FF9900}Durum:{00FF00} Satılmadı (%d)\n{FF9900}Fiyat: {FFFFFF}$%d\n", houseid, house[houseid][cost]);
				house[houseid][label] = Create3DTextLabel(tmp, COLOR_3D_BRIGHTGREEN, house[houseid][OUT_X], house[houseid][OUT_Y], house[houseid][OUT_Z], 40.0, 0, 1);
Reply
#4

up++
Reply
#5

PHP код:
#define MAX_HOUSE 100 // You can change value of MAX of House
for (new MAX_HOUSE i++)
{
    
format(tmpsizeof(tmp), "{FF9900}Durum:{00FF00} Sat?lmad? (%d)\n{FF9900}Fiyat: {FFFFFF}$%d\n"ihouse[i][cost]);
    
house[i][label] = Create3DTextLabel(tmpCOLOR_3D_BRIGHTGREENhouse[i][OUT_X], house[i][OUT_Y], house[i][OUT_Z], 40.001);

Use Loop then , and if you must load or read ini files for value in array [OUT_X] Y and Z

This just sample hint so adapt to your scripts then
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)