Why my gun not load[Mysql]
#1

see
PHP код:
public OnPlayerSpawn(playerid)
{
        new 
fieldsrowsstring[128];
        
cache_get_data(rowsfieldsgSQLHandle);
    
GivePlayerWeapon(playeridcache_get_field_content_int(0"Gunonhand"gSQLHandle), cache_get_field_content_int(0"Ammoonhand"gSQLHandle));
    
format(querysizeof(query), "UPDATE `user_accounts` SET `Gunonhand`=0,\
    `Ammoonhand`=0 WHERE `UserID` = %i"
PlayerInfo[playerid][pUserID]);
    
mysql_function_query(gSQLHandlequeryfalse"SaveUserAccount""ii"playerid3); 
The valve is already store in the database as i' had checked but here it seem a problem

Where am i wrong
Reply


Messages In This Thread
Why my gun not load[Mysql] - by SequenceCuz - 01.04.2015, 02:04
Re: Why my gun not load[Mysql] - by Infamous - 01.04.2015, 04:02
Re: Why my gun not load[Mysql] - by Vince - 01.04.2015, 10:14
Re : Why my gun not load[Mysql] - by Golimad - 01.04.2015, 12:32

Forum Jump:


Users browsing this thread: 1 Guest(s)