Burgershot
[Server] Warning DCC_FindChannelByName - Printable Version

+- Burgershot (https://www.burgershot.gg)
+-- Forum: SA-MP (https://www.burgershot.gg/forumdisplay.php?fid=3)
+--- Forum: Support (https://www.burgershot.gg/forumdisplay.php?fid=12)
+--- Thread: [Server] Warning DCC_FindChannelByName (/showthread.php?tid=2253)



Warning DCC_FindChannelByName - Jhames - 2021-11-29

I'm getting a warning when using "DCC_FindChannelByName". where am I going wrong?

Code:  
Code:
printf("Channel ID: %d", DCC_FindChannelByName("log-server"));

Warning :  
Code:
warning 213: tag mismatch: expected tags "Float", or none ("_"); but found "DCC_Channel"



RE: Warning DCC_FindChannelByName - SeeK Space - 2021-12-10

PHP Code:
printf("Channel ID: %d"_:DCC_FindChannelByName("log-server"));