Search Results
Thank you all,
300+ players server can be run (for) without lag server?
At the moment only use for, and sometimes I have a little lag. But I do not know if the problem loops. HOST is very performant.
...
113
Quote:
Originally Posted by SickAttack
Why don't you test them to see which one is faster? Just change the second loop to: for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++)
Why?
D...
113
Method 1:
Код HTML:
new Iterator: WarPlayers<MAX_PLAYERS>;
foreach (new i : GunGamePlayers)
{
// code line, code line ...
// etc etc etc ...
}
Method 2:
Код HTML:
new WarPlayers...
113
What's the difference?
Код HTML:
mysql_format(MySQLCon, qMYSQL[8], 290, "UPDATE `players` SET `BankMoney`=%d WHERE `ID`=%d", plInfo[playerid][pBankMoney],plInfo[playerid][pID]), mysql_tquery(MySQL...
130
How to combat Vehicle Path Recording?
https://www.youtube.com/watch?v=ManRZkQuqPw
Thanks.
82
Quote:
Originally Posted by Vince
Run profiler plugin. The amount of timers in itself tells nothing. Twenty timers with 5 lines of code will still be faster than 3 timers with 200 lines of...
130
When my server server exceeds 180 players begin to process difficult. (180+ players online = server lag)
I do not understand why...
My GameMode:
Runs 3 GlobalTimers. (1 = 600ms | 2 = 1 seconds | 3 = ...
130
Quote:
Originally Posted by Sunehildeep
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid != INVALID_PLAYER_ID)
{
if(!IsACop(killerid) || pInfo[pl...
113
Don't show message "Work!".
Код HTML:
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid != INVALID_PLAYER_ID)
{
if(!(IsACop(killerid) || pInfo[playerid][aVar][79] ...
113
Not correctly ID extracted.
TAB Players:
SSCANF Code (in dialog response):
Код HTML:
new ID;
sscanf(inputtext,"u",ID);
printf("d: %s, %d", inputtext, ID);
.LOG:
Код HTML:
[10:57:45] d: Test ...
81
How to convert UNIX TIME in Date with MYSQL?
Код HTML:
new st = SELECT FROM_UNIXTIME(1447430881);
printf("Date: %s", st);
Not work...
46
Код HTML:
native TextDrawSetHideTime(Text:text, time); // time in milliseconds
33,575
Quote:
Originally Posted by JakeXxX
Clickme here you go please next time make sure to ****** it first.
These IDs are not the lights ID of my image.
121