01.04.2009, 16:13
I need a script that make my house system to not show: "Cost: XXXXX" in the chat if the house have a owner...
Here is the "hInfo" if the house got owner...
If that one is: "State" the house doesn't have a owner... Else, it does have a owner.
here's the code for the "GetHouseStats" that shows the: "Cost: XXXXX"
Here is the "hInfo" if the house got owner...
Код:
hInfo[hid][Name]
here's the code for the "GetHouseStats" that shows the: "Cost: XXXXX"
pawn Код:
stock GetHouseStats(playerid, hid)
{
new str2[256];
format(str2,sizeof(str2),"Cost: %i",hInfo[hid][Cost]);
SendClientMessage(playerid, c_y, str2);
return 1;
}