for(new i; i< MAX_PLAYERS; i++) goes only for id 0
#9

Quote:
Originally Posted by HoussamMaroc
Посмотреть сообщение
i have fixed it
PHP код:
foreach(new iPlayer) if(IsPlayerConnected(i)) Message(iTYPE_SERVER"FWEKOGE"); 
the message send to all connected players

Note: you will get a Error(indefined symbol "foreach") if you don't add #include foreach
no IsPlayerConnected just

PHP код:
foreach(new PlayerMessage(iTYPE_SERVER"FWEKOGE"); 
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)