Search Results
Quote: Originally Posted by VVWVV Ah dude... What u doing? My variant: PHP код: format(str, sizeof str, IsPlayerConnected(ReturnUser(name) ? ("Online.") : ("Offline."));  ...
166
Quote: Originally Posted by [Bios]Marcel PHP код: if(IsPlayerConnected(ReturnUser(name)) ? (format(str, sizeof(str), "%s", name)) : (format(str, sizeof(str), "%d", rank))Â...
166
Код HTML: for(new i = 0; i < cache_num_rows(); i++) { if(IsPlayerConnected(ReturnUser(name)) ? (format(str, sizeof(str), "%s", name)) : (format(str, sizeof(str), "%d", rank))) } Receive man...
166
I receive many errors, the code is in a loop. Код HTML: if(IsPlayerConnected(ReturnUser(name)) ? (format(str, sizeof(str), "Online.")) : (format(str, sizeof(str), "Offline."))) Код HTML: unde...
166
Quote: Originally Posted by valych According to your mysql log, there are no such fields in your table like Owner, Model, PosX, PosY, PosZ and so on. Then, due to some reason, fuction Crea...
82
Sometimes not selects data from the database MYSQL! After LOGIN: Код HTML: mysql_format(MySQLCon, QuerY, sizeof(QuerY), "SELECT * FROM `vehicles` WHERE `OwnerID` = %d", pInfo[playerid][pID]); my...
82
Quote: Originally Posted by SickAttack pawn Код: // ** INCLUDES#include <a_samp>#include <a_mysql>// ** DEFINES// *** DATABASE// **** GENERAL#define MYSQL_HOST "localhost"#...
209
Quote: Originally Posted by kadaradam Then I would print out the index whenever you want to access the "Veh" veriable to make sure it won't exceed the 1999 value. Like this: Код: prin...
209
I did some testing and found that is not extracted properly "Model". I have 3 personal vehicles in database. In OnVehiclesLoad: Код HTML: // code...... printf("RRd: %d", Veh[UlIDV][Model]); Veh[Ul...
209
I did that when a player enters the server, personal vehicles to create. But you can not create more than 5 vehicles! I do not know why. OnPlayerLogin: Код HTML: mysql_format(MySQLCon, QuerY, siz...
209
Solved, thank you all.
123
No vehicle is created on the server! Do not load data (vehicles) from the database.
172
After Login: Код HTML: mysql_format(MySQLCon, QuerY, sizeof(QuerY), "SELECT * FROM `vehicles` WHERE `Owner` = %d", pInfo[playerid][pID]); mysql_pquery(MySQLCon, QuerY, "OnVehiclesLoad", ""); OnVeh...
172
I was playing on the server, and this gave me crash. Now it works, just as I got this crash and do not know why.
98