Help: Delay Spawn Player
#8

PHP код:
forward ClassSelection(playerid, class);
public 
ClassSelection(playerid, class){
    
//here you change the player's class: 0 = Negros, 1 = Civiles, 2 = Mafia, etc.
}
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[]){
    if(
dialogid == 1){
        
SendClientMessage(playerid, -1"Your class will be changed in 10 seconds.");
        
SetTimerEx("ClassSelection"10000false"ii"playeridlistitem);
    }
}
CMD:class(playerid,params[]) 

    
ShowPlayerDialog(playerid1DIALOG_STYLE_LIST"Equipos","\nNegros\nCiviles\nMafia\nNang\nSwat\nSurenos\nBiker\nRich\nFarmers\nMechanic\nPimp\nSoldados" "Select"""); 
    return 
1;

I can't understand what you want
Reply


Messages In This Thread
Help: Delay Spawn Player - by bookknp - 11.05.2018, 05:31
Re: Help: Delay Spawn Player - by Vennox - 11.05.2018, 07:41
Re: Help: Delay Spawn Player - by bookknp - 11.05.2018, 08:01
Re: Help: Delay Spawn Player - by CrystalGamer - 11.05.2018, 09:51
Re: Help: Delay Spawn Player - by bookknp - 11.05.2018, 17:14
Re: Help: Delay Spawn Player - by Vennox - 11.05.2018, 22:07
Re: Help: Delay Spawn Player - by bookknp - 11.05.2018, 22:34
Re: Help: Delay Spawn Player - by Vennox - 12.05.2018, 09:56
Re: Help: Delay Spawn Player - by bookknp - 12.05.2018, 20:08
Re: Help: Delay Spawn Player - by bookknp - 13.05.2018, 01:34

Forum Jump:


Users browsing this thread: 2 Guest(s)