07.03.2012, 20:28
La query esta mal hecha y SendClientMessage requiere que uses de nuevo format
pawn Код:
public ShowAge()
{
new age;
new query[128];
new name[24];
GetPlayerName(playerid, name,24)
format(query,128,"SELECT AgeColumn FROM Users WHERE Name = %s",name);
age = mysql_query(query);
format(query,128,"Tu edad es de %d",age);
SendClientMessage(playerid,COLOR_GRAD2,query);
}