text is not formatted
#1

//Fixed - Code delete.
Reply
#2

pawn Код:
SendClientMessage(playerid,COLOR_WHITE,">> "C_RED"You are banned from this server.");
format(String,200,">> "C_RED"Remeining time it %s.",ConvertSeconds(strval(String) - gettime()));
//missing SendClientMessage

db_get_field_assoc(DatabaseResult,"PlayerBannedAdministratorName",String,30);
format(String,200,">> "C_RED"Administrator which gave ban it %s.",String);
SendClientMessage(playerid,COLOR_WHITE,String);

db_get_field_assoc(DatabaseResult,"PlayerBannedReason",String,30);
format(String,200,">> "C_RED"Reason of ban is %s.",String);
SendClientMessage(playerid,COLOR_WHITE,String);

db_get_field_assoc(DatabaseResult,"PlayerBannedDate",String,30);
format(String,200,">> "C_RED"Date of getting ban it %s.",String);
SendClientMessage(playerid,COLOR_WHITE,String);
Reply
#3

I know but i have this:
Quote:

Remaining time it (nothing here).
Administrator which gae ban it (nothing here).

Why?
Reply
#4

Try to print DatabaseResult right after you save reurned info in it.
Reply
#5

//Fixed - Code delete.
Reply
#6

@Bump, any idea?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)