View Single Post
amauri_long
Member
Join Date: Sep 2014
Location: USA Moon Base
Old 06-29-2023 , 19:10   Re: [REQ] Ambient music Solved I need help to remove warnings when compiling
Reply With Quote #8

Solved I need help to remove warnings when compiling

warning 234: symbol "GetMaxClients" is marked as deprecated: Use MaxClients variable



new maxplayers = MaxClients;// UPDATE CRACH SEVER
for (new x = 1; x <= maxplayers; x++)
{
if (!IsClientInGame(x))

config

sm_ambience 1
sm_ambience_file "ambient/zr/zombie_ambience.mp3"
sm_ambience_length "285‬.9"
sm_ambience_volume "0.9"
Attached Files
File Type: sp Get Plugin or Get Source (ambience.sp - 91 views - 4.0 KB)
File Type: zip sound.zip (8.25 MB, 64 views)

Last edited by amauri_long; 06-29-2023 at 19:18. Reason: Update 29-06-2023
amauri_long is offline