05.12.2012, 16:58
Estб bien, como se crean igual seria asн
Aunque no tiene nada que ver con los pickups y text
DeleteHouse se ejecuta??
osea la tabla la elimina?
pawn Код:
stock LabelIPickup(hid)
{
new string[125];
if(CasasInfo[hid][hVenta] == 1)
{
format(string,sizeof(string),"{458B00}En Venta! \n {458B00}ID: {FFFFFF}%d \n {458B00}Precio: {FFFFFF}$%d\n {458B00}Nivel: {FFFFFF}%d",CasasInfo[hid][hSQLid], CasasInfo[hid][hPrecio],CasasInfo[hid][hNivel]);
CasasLabel[hid] = CreateDynamic3DTextLabel(string ,0x00FF00AA,CasasInfo[hid][hEX], CasasInfo[hid][hEY], CasasInfo[hid][hEZ], 15.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID);
CasasPickup[hid] = CreateDynamicPickup(1273, 1, CasasInfo[hid][hEX], CasasInfo[hid][hEY], CasasInfo[hid][hEZ]);
}
else
{
format(string,sizeof(string)," {458B00}Dueсo: {FFFFFF}%s \n {458B00}ID: {FFFFFF}%d",CasasInfo[hid][hDueno],CasasInfo[hid][hSQLid]);
CasasLabel[hid] = CreateDynamic3DTextLabel(string ,0x00FFFFAA,CasasInfo[hid][hEX], CasasInfo[hid][hEY], CasasInfo[hid][hEZ], 15.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID);
CasasPickup[hid] = CreateDynamicPickup(1273, 1, CasasInfo[hid][hEX], CasasInfo[hid][hEY], CasasInfo[hid][hEZ]);
}
return 1;
}
DeleteHouse se ejecuta??
osea la tabla la elimina?

