[Ajuda] mudar o comando direcionado para id?
#6

Quote:
Originally Posted by FerrariL
View Post
Comando do Nelson editado...
PHP Code:
CMD:vrevista(playeridparams[]) { 
    new 
Pos[3], str1[100]; 
    
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]); 
    for(new 
0<= GetPlayerPoolSize();i++) { 
        if(
IsPlayerInRangeOfPoint(i20.0Pos[0], Pos[1], Pos[2])) { 
            
PlayAudioStreamForPlayer(i"https://dl.dropboxusercontent.com/s/uh5c8cso8xgf8gh/1Revista%20derotina.mp3"Pos[0], Pos[1], Pos[2], 50.00); 
            
SendClientMessage(playerid0xF2FF00AA"Revista de rotina porfavor colabore e dк /hd ou serб preso!"); 
            
SendClientMessage(i0xFF0000AA"Dк /hd por gentileza!"); 
            return 
true
        } 
        return 
true
    } 
    return 
true

75 >> GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);

Code:
C:\Users\joao\Desktop\BACKUP\BPS\filterscripts\voz.pwn(75) : warning 213: tag mismatch
C:\Users\joao\Desktop\BACKUP\BPS\filterscripts\voz.pwn(75) : warning 213: tag mismatch
C:\Users\joao\Desktop\BACKUP\BPS\filterscripts\voz.pwn(75) : warning 213: tag mismatch
ai eu colocando ele em uma dialog ficaria assim ne ?
sem os return

Code:
			if(listitem == 2)
			CMD:vrevista(playerid, params[]) {
		    new Pos[3];//, //str1[100];
		    GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
		    for(new i = 0; i <= GetPlayerPoolSize();i++) {
	     	if(IsPlayerInRangeOfPoint(i, 20.0, Pos[0], Pos[1], Pos[2])) {
		    PlayAudioStreamForPlayer(i, "https://dl.dropboxusercontent.com/s/uh5c8cso8xgf8gh/1Revista%20derotina.mp3", Pos[0], Pos[1], Pos[2], 50.0, 0);
		    SendClientMessage(playerid, 0xF2FF00AA, "Revista de rotina porfavor colabore e dк /hd ou serб preso!");
		    SendClientMessage(i, 0xFF0000AA, "Dк /hd por gentileza!");

		    }
	    
		    }
		    }
Reply


Messages In This Thread
mudar o comando direcionado para id? - by eoqtrabhir - 09.05.2018, 15:00
Re: mudar o comando direcionado para id? - by BrunoLuiz - 09.05.2018, 15:11
Re: mudar o comando direcionado para id? - by NelsonC - 09.05.2018, 15:15
Re: mudar o comando direcionado para id? - by eoqtrabhir - 09.05.2018, 15:25
Re: mudar o comando direcionado para id? - by FerrariL - 09.05.2018, 15:29
Re: mudar o comando direcionado para id? - by eoqtrabhir - 09.05.2018, 15:31
Re: mudar o comando direcionado para id? - by FerrariL - 09.05.2018, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)