25.01.2014, 13:37
pawn Код:
CMD:serverhouses(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 2))
format(query, sizeof(query), "SELECT * FROM `houses`");
mysql_function_query(dbHandle, query, true, "ShowAmount", "is[128]", playerid, "Dynamic Houses");
return 1
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "You aren't authorized to use this command!");
}
return 1;
}