Checks in format func.
#1

Hi there,
I need a help about checks with params in format function.
Код:
	"INSERT INTO "_HRP_HST_DT_WARNS" (ID, Razlog, IP, Dao, DaoIP, Dan, Mjesec, Godina, Sat, Minuta, Sekunda) VALUES ('%d', '%e', '%e', '%e', '%e', '%d', '%d', '%d', '%d', '%d', '%d')"
	, Korisnik[_playerid][kID], _razlog, _HRP_GetIp(_playerid), _od ? -1);
So if is param "_od" == -1 I want to set instead _od param _staff and if is "_od" > -1 I want to set function _HRP_GetName(_od)... Can someone help? Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)