open.mp forum
[Server] Warning DCC_FindChannelByName - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Support (https://forum.open.mp/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"));