OnPlayerSave don't work.
#7

I have no idea what SQL_PrepareUpdate returns as it's clearly a custom written function so show that, and if you must check for valid handles, if that's what index represents, do the check like this:
pawn Код:
if (DB:index > 0)
Why could it be NULL is either the database file doesn't exist, query has an error, or the user couldn't be found in the table and others...
Reply


Messages In This Thread
OnPlayerSave don't work. - by alanhutch - 01.01.2015, 15:10
Re: OnPlayerSave don't work. - by Virtual1ty - 01.01.2015, 16:01
Re: OnPlayerSave don't work. - by alanhutch - 01.01.2015, 16:25
Re: OnPlayerSave don't work. - by Virtual1ty - 01.01.2015, 16:44
Re: OnPlayerSave don't work. - by alanhutch - 01.01.2015, 17:10
Re: OnPlayerSave don't work. - by alanhutch - 01.01.2015, 18:13
Re: OnPlayerSave don't work. - by Virtual1ty - 01.01.2015, 18:53
Re: OnPlayerSave don't work. - by alanhutch - 01.01.2015, 19:04
Re: OnPlayerSave don't work. - by alanhutch - 01.01.2015, 19:17
Re: OnPlayerSave don't work. - by Virtual1ty - 01.01.2015, 19:39

Forum Jump:


Users browsing this thread: 2 Guest(s)