Search Results
PHP код:
specifiers[] = "%%D of %%M, %%Y @ %%k:%%i";
PHP код:
mysql_format(sqlConnection, query, sizeof(query), "SELECT *, DATE_FORMAT(lastlogin, '%e') AS date_logi...
143
PHP код:
SELECT *, DATE_FORMAT(lastlogin, 'e/
also
PHP код:
[15:13:28 05/09/17] [WARNING] CMySQLResult::GetRowDataByName - field not found ("date_time") (Query: "SEL...
143
So, I have this query
PHP код:
mysql_format(sqlConnection, query, sizeof(query), "SELECT *, DATE_FORMAT(lastlogin, '%%e/%%c/%%Y') AS date_time FROM players WHERE username = '%e'...
143
Quote:
Originally Posted by Vince
This. Although UTC_TIMESTAMP() is the better alternative because it's timezone independent. Also I don't see why you would need to update the registration...
171
Never heard about MySQL NOW() function ?
https://www.w3schools.com/sql/func_now.asp
171
Each house should be in a different VW
176
Simply use a different virtual world for each house
176
Any updates for the next part ?
Thank you !
1,878
Got it thanks, I knew I could do it without checking every seconds, way better every hour, thanks !
214
Quote:
4. check if the difference (in ms) is more or equal to 25 minutes (assuming u want the payday to hapen every 25 minutes)
Not every 25 minutes, every hour like so but to be ...
214
I was considering GetTickCount but I'm not quite sure how to proceed
214
Hi, I was wondering if there is better method than using a 1 sec global timer for paycheck
Код:
task GlobalTimer[1000]()
{
new H, M, S;
gettime(H, M, S);
foreach(new i: Player)
{
...
214
What is the best in game textdraw editor out there ? Been a while so I was wondering, thanks !
133
Oh shit lol, I copy/paste yours so I didn't pay attention to it, thought it was the same
EDIT: Working perfectly +rep
123
Код:
CMD:spawncar(playerid, params[])
{
new string[128], count;
foreach(new i : Vehicles)
{
if(PlayerInfo[playerid][pID] == VehicleInfo[i][vOwnerID])
{
format(string, sizeof(str...
123