20.03.2018, 23:20
Quote:
Foi atualizado:
SendClientMessage(playerid, COLOR_WHITE, "[GRITO]: Estб Gritando Na Guerra"); por ProxDetector(20.0, playerid, "[GRITO]: Estб Gritando Na Guerra", COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BR ANCO); e PlayAudioStreamForPlayer(playerid,"https://japeto.sscdn.co/palcomp3/4/c/9/7/Tamodesoci-audio-1-mlc-ee8928f4.mp3", X, Y, Z, 20.0, 1); por PlayAudioStreamForPlayer(i,"https://japeto.sscdn.co/palcomp3/4/c/9/7/Tamodesoci-audio-1-mlc-ee8928f4.mp3", X, Y, Z, 20.0, 1); Код:
if(dialogid == DIALOG_GRITAR) //PГµem em OnDialogResponse { if(response) { if(listitem == 0) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); ProxDetector(20.0, playerid, "[GRITO]: Estб Gritando Na Guerra", COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BRANCO);//Atualizado[No lugar de SendClientMessage] PlayAudioStreamForPlayer(i,"https://aladfar.sscdn.co/palcomp3/4/c/7/0/Tamodesoci-audio-cmd-3-e1052fcf.mp3", X, Y, Z, 20.0, 1);//Atualizado playerid por i } } } if(listitem == 1) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); ProxDetector(20.0, playerid, "[GRITO]: Estб Gritando Na Guerra", COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BRANCO);//Atualizado[No lugar de SendClientMessage] PlayAudioStreamForPlayer(i,"https://alamach.sscdn.co/palcomp3/6/4/4/6/Tamodesoci-audio-3cp-2-0bce8067.mp3", X, Y, Z, 20.0, 1);//Atualizado playerid por i } } } if(listitem == 2) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); ProxDetector(20.0, playerid, "[GRITO]: Estб Gritando Na Guerra", COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BRANCO);//Atualizado[No lugar de SendClientMessage] PlayAudioStreamForPlayer(i,"https://adara.sscdn.co/palcomp3/b/c/d/5/Tamodesoci-audio-lll-1-f4877ed5.mp3", X, Y, Z, 20.0, 1);//Atualizado playerid por i } } } if(listitem == 3) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); ProxDetector(20.0, playerid, "[GRITO]: Estб Gritando Na Guerra", COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BRANCO);//Atualizado[No lugar de SendClientMessage] PlayAudioStreamForPlayer(i,"https://japeto.sscdn.co/palcomp3/4/c/9/7/Tamodesoci-audio-1-mlc-ee8928f4.mp3", X, Y, Z, 20.0, 1);//Atualizado playerid por i } } } if(listitem == 4) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); ProxDetector(20.0, playerid, "[GRITO]: Estб Gritando Na Guerra", COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BRANCO,COR_BRANCO);//Atualizado[No lugar de SendClientMessage] PlayAudioStreamForPlayer(i,"https://adara.sscdn.co/palcomp3/a/3/c/c/Tamodesoci-audio-ext-3-7477ae78.mp3", X, Y, Z, 20.0, 1);//Atualizado playerid por i } } } } } CMD:gritar(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_GRITAR, DIALOG_STYLE_LIST, "Grito De Guerra", "{cd0000}CMD\n{FFFF00}TD3\n{0000ff}LLL\n{ff9409}MLC\n{a4a4a4}ORGS", "OK", "Cancelar"); return true; } |
PHP код:
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(7172) : error 017: undefined symbol "ProxDetector"
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(7185) : error 017: undefined symbol "ProxDetector"
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(7198) : error 017: undefined symbol "ProxDetector"
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(7211) : error 017: undefined symbol "ProxDetector"
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(7224) : error 017: undefined symbol "ProxDetector"
C:\Users\Lan\Desktop\Game Mode\gamemodes\Mode.pwn(7429) : warning 215: expression has no effect