House Label [+REP]
#1

Hello!

I have a big problem in my server.

When I use /createhouse (that cmd make a house checkpoint with label) the chekpoint is created and a house label like this:



Thats nice,BUT sometimes (MOST of THE TIME) when I use /createhouse only checkpoint is created ,but not label, like this:



So,the problem is that sometimes when I use /createhouse ,label shows and sometimes not,I dont know why is that,maybe some wrong values?
So,I want that everytime when I use /createhouse there would be always created checkpoint with label.

House label code:
Код:
		format(labeltext, sizeof(labeltext), HOUSELABEL1, HouseInfo[h][hName], h, HouseInfo[h][hOwner], Comma(HouseInfo[h][hValue]));
		HouseCPOut[h] = CreateDynamicCP(hX, hY, hZ, 1.5, GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid), -1, 5.0);
		HouseCPInt[h] = CreateDynamicCP(2196.84, -1204.36, 1049.02, 1.5, (h + 1000), 6, -1, 20.0);
		HouseLabel[h] = Create3DTextLabel("Owner: No-Owner\nHouse Name: No-Title", -1, hX, hY, hZ+0.5, 20.0, GetPlayerVirtualWorld(playerid), 1);
HOUSELABEL1 Define code ---> That shows when player buy house (other label) ,that works fine:

Код:
#define HOUSELABEL1  "{00bbff}House Name: {FFFFFF}%s(%d)\n{00bbff}House Owner: {FFFFFF}%s\n{00bbff}House Value: {FFFFFF}$%s"
Please help,I give +REP if you help me!
Reply


Messages In This Thread
House Label [+REP] - by SplinteX - 29.12.2013, 21:02
Re: House Label [+REP] - by boomerboom - 29.12.2013, 21:05
Re: House Label [+REP] - by SplinteX - 29.12.2013, 21:11
Re: House Label [+REP] - by SplinteX - 29.12.2013, 21:23
Re: House Label [+REP] - by yoran765 - 29.12.2013, 21:35
Re: House Label [+REP] - by SplinteX - 29.12.2013, 22:09
Re: House Label [+REP] - by Patrick - 29.12.2013, 22:15
Re: House Label [+REP] - by SplinteX - 30.12.2013, 18:27

Forum Jump:


Users browsing this thread: 1 Guest(s)