[SOLVED]Bans
#6

Playerip should be a string(%s)..
Try this out:
pawn Код:
format(query, sizeof(query), "INSERT INTO `bans` (`name`, `ip`, `banner`, `reason`, `month`, `day`, `year`) VALUES ('%s','%s','%s','%s','%d','%d','%d')", giveplayer,playerip,sendername,result,month,day,year);
Reply


Messages In This Thread
[SOLVED]Bans - by jamesb93 - 16.01.2010, 18:40
Re: Bans - by Blacklite - 16.01.2010, 20:12
Re: Bans - by jamesb93 - 16.01.2010, 22:39
Re: Bans - by GTAguillaume - 16.01.2010, 22:42
Re: Bans - by jamesb93 - 16.01.2010, 22:43
Re: Bans - by s0nic - 17.01.2010, 00:13
Re: Bans - by jamesb93 - 17.01.2010, 12:29
Re: Bans - by Blacklite - 17.01.2010, 18:16
Re: Bans - by jamesb93 - 17.01.2010, 18:28
Re: [SOLVED]Bans - by Simsissle - 07.02.2010, 00:27

Forum Jump:


Users browsing this thread: 1 Guest(s)