30.04.2013, 18:09
(
Последний раз редактировалось Fernado Samuel; 01.06.2013 в 22:11.
)
Removed, Thanks
//Instead of this
while(mysql_fetch_row_format(Query, "|"))
{
mysql_fetch_field_row(i, "id"); format(yourid, sizeof(yourid), i);
}
format(string, sizeof(string), "Your user ID is : %d",i);
SendClientMessage(playerid,nicegreen,string);
//Do this
while(mysql_fetch_row_format(Query, "|"))
{
mysql_fetch_field_row(i, "id");
yourid = strval(i); //i is a string and we want the integer value that Mysql got for us
}
format(string, sizeof(string), "Your user ID is : %d", yourid); //You had i here but that is a string, also we used yourid to store the value so we just change it to yourid
SendClientMessage(playerid,nicegreen,string);