SA-MP Forums Archive
Updaiting from old to new mysql, help - 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: Updaiting from old to new mysql, help (/showthread.php?tid=621110)



Updaiting from old to new mysql, help - Bailews - 06.11.2016

Код:
new furnitureTexture[ 4 ];
cache_get_field_content(i, "TxdId0", BizzFurniture[ id ][ furnitureTexture ][ 0 ]);
cache_get_field_content(i, "TxdId1", BizzFurniture[ id ][ furnitureTexture ][ 1 ]);
cache_get_field_content(i, "TxdId2", BizzFurniture[ id ][ furnitureTexture ][ 2 ]);
cache_get_field_content(i, "TxdId3", BizzFurniture[ id ][ furnitureTexture ][ 3 ]);
cache_get_field_content(i, "TxdId4", BizzFurniture[ id ][ furnitureTexture ][ 4 ]);
It was before created 4 different variables like furnitureTexture1, furnitureTexture2, but was the same thing, can anyone help?

error 033: array must be indexed (variable "furnitureTexture")
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
fatal error 107: too many error messages on one line


Re: Updaiting from old to new mysql, help - Bailews - 06.11.2016

? anyone