help with sscanf splitting into a enum
#9

Quote:
Originally Posted by Babul
Посмотреть сообщение
you are fucking the sscanf up by adding both variants. the best thing you can do: remove the sscanf stock in all your scripts, and #include the plugin. all upcoming errors/warnings are worth being converted to the new syntax, like changing a string "s" to a string with a destination size: "s[30]", or change an optional parameter to have a value: "D(1)".
it also could help us to see how your enum got declared. the order is relevant afaik?
adding debug lines in the house-reading loop will give you all information you need for further debugging, like
Код:
	new debugstring[128];
	format(debugstring, sizeof(debugstring), "House ID: %i Own:%s Pri:$%i Lev:%i",HouseInfo[idx][houseid], HouseInfo[idx][howner],HouseInfo[idx][hprice],HouseInfo[idx][hlevel]);
	SendClientMessageToAll(0xffaaaa00,debugstring);
..so you can see each single loaded house[looped idx]'s data
You're a bit late now, I have given up on that gamemode and I am making a new one which fully uses mysql and I am going to copy some of my commands etc. across.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)