Search Results
Quote: Originally Posted by VVWVV Ah dude... What u doing? My variant: PHP код: format(str, sizeof str, IsPlayerConnected(ReturnUser(name) ? ("Online.") : ("Offline."));  ...
19
Quote: Originally Posted by [Bios]Marcel PHP код: if(IsPlayerConnected(ReturnUser(name)) ? (format(str, sizeof(str), "%s", name)) : (format(str, sizeof(str), "%d", rank))...
19
Код 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...
19
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...
19
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...
18
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...
18
Quote: Originally Posted by SickAttack pawn Код: // ** INCLUDES#include <a_samp>#include <a_mysql>// ** DEFINES// *** DATABASE// **** GENERAL#define MYSQL_HOST "localhost"#...
57
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...
57
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...
57
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...
57
No vehicle is created on the server! Do not load data (vehicles) from the database.
32
After Login: Код HTML: mysql_format(MySQLCon, QuerY, sizeof(QuerY), "SELECT * FROM `vehicles` WHERE `Owner` = %d", pInfo[playerid][pID]); mysql_pquery(MySQLCon, QuerY, "OnVehiclesLoad", ""); OnVeh...
32
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.
18