SA-MP Forums Archive
How to change format text to 3D text {house System RP} - 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: How to change format text to 3D text {house System RP} (/showthread.php?tid=588442)



How to change format text to 3D text {house System RP} - daniel05277 - 08.09.2015

I want to change the text in PICKUP 3D text appears on the screen appears together with the PICKUP



Quote:

for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(PlayerToPoint(2.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]))
{
if(HouseInfo[h][hOwned] == 1)
{
if(HouseInfo[h][hRentabil] == 0)
{
format(string, sizeof(string), "~w~This House is owned by~n~%s~n~Level : %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);
}
else
{
format(string, sizeof(string), "~w~This House is owned by~n~%s~n~Rent: ]%d Level : %d~n~Type /rentroom to rent a room",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);
}
GameTextForPlayer(i, string, 5000, 3);
return 1;
}
else
{//test
format(string, sizeof(string), "~w~This House is for sale~n~Cost: ~g~]%d~n~~w~ Level : %d~n~to buy this house type /buyhouse",HouseInfo[h][hValue],HouseInfo[h][hLevel]);
}
GameTextForPlayer(i, string, 5000, 3);
return 1;
}
}




Re: How to change format text to 3D text {house System RP} - JeaSon - 09.09.2015

can you exectly explain your problem properly !