String always displays faction ID 1
#3

Quote:
Originally Posted by reddoxx
Посмотреть сообщение
try
Код:
format(string, sizeof(string), "{SERVER}: {FFFFFF}You have just edited faction ID: %d's info position. (%f, %f, %f) (%s)", factionInfo[fID][fID], factionX, factionY, factionZ,factionInfo[fID][facName]);
Tried that, this is displayed in game:

PHP код:
[19:22:10] {SERVER}: {FFFFFF}You have just edited faction ID1's info position. (140.718002, -72.125198, 1.429687) (CSPD)
[19:22:13] {SERVER}: {FFFFFF}You have just edited faction ID: 2'
s info position. (134.421081, -71.9208061.429687) (CSPD
Yes, it selects the correct faction ID and updates it successfully. Have tested with print(DB_Query);
Reply


Messages In This Thread
String always displays faction ID 1 - by yllo - 27.09.2018, 18:09
Re: String always displays faction ID 1 - by reddoxx - 27.09.2018, 18:15
Re: String always displays faction ID 1 - by yllo - 27.09.2018, 18:22

Forum Jump:


Users browsing this thread: 2 Guest(s)