Ban List Questions
#3

Yeh, I got the PHP part. and the query set.

How/Where can I get something for dob (Date of Ban)?

Like, it would show 8/04/10?

Код:
stock CreateBan(playerid)
{
	new query[512],name[MAX_PLAYER_NAME]+1;
	GetPlayerName(playerid, name, sizeof(name));
	format(query, sizeof(query),"INSERT INTO bans (name, dob) VALUES ('%s', '%s')",name,dob);
	mysql_query(query);
	return 1;
}
Reply


Messages In This Thread
Ban List Questions - by ScottCFR - 04.08.2010, 16:58
Re: Ban List Questions - by WackoX - 04.08.2010, 17:22
Re: Ban List Questions - by ScottCFR - 04.08.2010, 17:41
Re: Ban List Questions - by Carlton - 04.08.2010, 17:55
Re: Ban List Questions - by [NoV]LaZ - 04.08.2010, 17:59
Re: Ban List Questions - by ScottCFR - 04.08.2010, 18:05
Re: Ban List Questions - by Daren_Jacobson - 04.08.2010, 18:09
Re: Ban List Questions - by ScottCFR - 04.08.2010, 18:10
Re: Ban List Questions - by Daren_Jacobson - 04.08.2010, 18:13
Re: Ban List Questions - by ScottCFR - 04.08.2010, 18:25

Forum Jump:


Users browsing this thread: 1 Guest(s)