SA-MP Forums Archive
Auto Update - 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: Auto Update (/showthread.php?tid=553103)



Auto Update - CoR3 - 28.12.2014

Hello, How do I update this alone? without having to restart my sv

Quote:

for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(HouseInfo[h][hOwned] == 0)
{
new string [128];
format(string, sizeof(string), "[Venta]\nValor: $%d\n Nivel: %d\nID: %d ",HouseInfo[h][hValue], HouseInfo[h][hLevel], h);
Create3DTextLabel(string,0x00AE00FF, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.75,20.0,0,1);
HouseInfo[h][hPickupID]=CreatePickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
if(HouseInfo[h][hOwned] == 1)
{
new string [128];
format(string, sizeof(string), "[Propiedad]\n%s\nID: %d",HouseInfo[h][hOwner], h);
Create3DTextLabel(string,0x00AE00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+0.35,15.0,0,1);
}
}




Re: Auto Update - CoaPsyFactor - 28.12.2014

Use THIS function.