Values being set to 0?
#1

pawn Код:
cache_get_row(i, 0, String);
houseInfo[i][houseID] = strval(String);
I then use it to create an object, but when I try to edit the object, the houseID is 0?
pawn Код:
EditDynamicObject(playerid, houseInfo[id][houseID]);
new string[128];
format(string, sizeof(string), "ID: %d"houseInfo[id][houseID])
SCM(playerid, 0, string);
It always sends 0, why?
Reply


Messages In This Thread
Values being set to 0? - by BigGroter - 10.09.2013, 20:38
Re: Values being set to 0? - by sleepysnowflake - 10.09.2013, 20:39
Re: Values being set to 0? - by NoahF - 10.09.2013, 20:39
Re: Values being set to 0? - by doreto - 10.09.2013, 20:43
Re: Values being set to 0? - by BigGroter - 10.09.2013, 20:44
Re: Values being set to 0? - by Konstantinos - 10.09.2013, 21:19
Re: Values being set to 0? - by BigGroter - 10.09.2013, 21:26
Re: Values being set to 0? - by Konstantinos - 11.09.2013, 11:10
Re: Values being set to 0? - by BigGroter - 11.09.2013, 13:06
Re: Values being set to 0? - by Konstantinos - 11.09.2013, 13:08

Forum Jump:


Users browsing this thread: 2 Guest(s)