01.08.2017, 18:58
PHP код:
for(new i; i < MAX_PLAYERS; i++) Message(i, TYPE_SERVER, "FWEKOGE");
for(new i; i < MAX_PLAYERS; i++) Message(i, TYPE_SERVER, "FWEKOGE");
foreach(new i; i < Player) if(IsPlayerConnected(i)) Message(i, TYPE_SERVER, "FWEKOGE");
No, just no. foreach is outdated and unstable. you must use the one in YSI.
|
i have fixed it
PHP код:
Note: you will get a Error(indefined symbol "foreach") if you don't add #include foreach |
foreach(new i : Player) Message(i, TYPE_SERVER, "FWEKOGE");