o que eu to fazendo de errado aqui?
em:
to lidando errado com strings?
Código:
error 035: argument type mismatch (argument 4)
Código:
AddNotification(HouseInfo[houseid][hOwner], "houseRob", gettime(), "", houseid);
Código:
forward AddNotification(notificationUserId, notificationType[], notificationDate, notificationAffectedName, notificationAffectedId);
public AddNotification(notificationUserId, notificationType[], notificationDate, notificationAffectedName, notificationAffectedId) {
new xquery[1024];
format(xquery, sizeof(xquery), "INSERT INTO `notifications` (`notificationUserId`, `notificationType`, `notificationDate`, `notificationAffectedName`, `notificationAffectedId`) VALUES ('%d', '%s', '%d', '%s', '%d')"
, notificationUserId, notificationType, notificationDate, notificationAffectedName, notificationAffectedId);
mysql_query(ConnectMYSQL,xquery);
}
to lidando errado com strings?