Problema mysql_get_field
#1

I have this on OnGamemModeIit

Код HTML:
mysql_get_field("BankFaction", result);				DynamicFactions[index][fBank] = strval(result);
And when I typed this command

Код HTML:
if(strcmp(cmdtext, "/bankfaction", true) == 0)
	{
		format(string,100,"Money %d -$ ",DynamicFactions[2][fBank]);
     	SendClientMessage(playerid,-1,string);
	}
The message is that "Money 0 -$"

after i typed this command
Код HTML:
	if(strcmp(cmdtext, "/bank1234", true) == 0)
	{
	    DynamicFactions[2][fBank] = 1234;
		fUpdate(2,fBankx);
	 }
Mysql database is updated and i retype this /bankfaction he say "Money 1234 -$"

The problem is when i restarted the variables is 0
Reply
#2

In database i set the bank of faction 2 i setted 332
Everybody know?
Reply
#3

What is wrong?
Reply
#4

What I need to do?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)