[Ajuda] Sistema de Tutorial
#5

Coloco Onde ?
PHP код:
public OnPlayerSpawn(playerid)
{
    
LogarProf(playerid);
        
TextDrawHideForPlayer(playeridImagemConnect);
        
TextDrawHideForPlayer(playeridBemVindo);
        if(
Preso[playerid] == 1)
        {
                if(
GetPlayerWantedLevel(playerid) == 1)
                {
                        
SetPlayerInterior(playerid6);
                        
Assalto[playerid] = 0;
                
Preso[playerid] = 1;
                
GameTextForPlayer(playerid"~w~PRESO!"30000);
                
SetPlayerPos(playerid264.599677.73671001.0391);
                
TempoPreso[playerid] = SetTimerEx("Liberar"120000false"i"playerid);
                
ResetPlayerWeapons(playerid);
                }
                else if(
GetPlayerWantedLevel(playerid) == 2)
                {
                        
SetPlayerInterior(playerid6);
                        
Assalto[playerid] = 0;
                
Preso[playerid] = 1;
                
GameTextForPlayer(playerid"~w~PRESO!"30000);
                
SetPlayerPos(playerid264.599677.73671001.0391);
                
TempoPreso[playerid] = SetTimerEx("Liberar"240000false"i"playerid);
                
ResetPlayerWeapons(playerid);
                }
                else if(
GetPlayerWantedLevel(playerid) == 3)
                {
                        
SetPlayerInterior(playerid6);
                        
Assalto[playerid] = 0;
                        
Preso[playerid] = 1;
                        
GameTextForPlayer(playerid"~w~PRESO!"30000);
                        
SetPlayerPos(playerid264.599677.73671001.0391);
                        
TempoPreso[playerid] = SetTimerEx("Liberar"480000false"i"playerid);
                        
ResetPlayerWeapons(playerid);
                }
                else if(
GetPlayerWantedLevel(playerid) == 4)
                {
                        
SetPlayerInterior(playerid6);
                        
Assalto[playerid] = 0;
                
Preso[playerid] = 1;
                
GameTextForPlayer(playerid"~w~PRESO!"30000);
                
SetPlayerPos(playerid264.599677.73671001.0391);
                
TempoPreso[playerid] = SetTimerEx("Liberar"600000false"i"playerid);
                
ResetPlayerWeapons(playerid);
                }
                else if(
GetPlayerWantedLevel(playerid) == 5)
                {
                        
SetPlayerInterior(playerid6);
                        
Assalto[playerid] = 0;
                    
Preso[playerid] = 1;
                    
GameTextForPlayer(playerid"~w~PRESO!"30000);
                        
SetPlayerPos(playerid264.599677.73671001.0391);
                
TempoPreso[playerid] = SetTimerEx("Liberar"720000false"i"playerid);
                
ResetPlayerWeapons(playerid);
                }
                else if(
GetPlayerWantedLevel(playerid) == 6)
                {
                        
SetPlayerInterior(playerid6);
                        
Assalto[playerid] = 0;
                
Preso[playerid] = 1;
                
GameTextForPlayer(playerid"~w~PRESO!"30000);
                
SetPlayerPos(playerid264.599677.73671001.0391);
                        
TempoPreso[playerid] = SetTimerEx("Liberar"840000false"i"playerid);
                
ResetPlayerWeapons(playerid);
                }
        }
        return 
1;

Reply


Messages In This Thread
Sistema de Tutorial - by Duge - 04.07.2014, 15:33
Re: Sistema de Tutorial - by Ts3 - 04.07.2014, 16:56
Re: Sistema de Tutorial - by Duge - 04.07.2014, 17:02
Re: Sistema de Tutorial - by Ts3 - 04.07.2014, 17:28
Re: Sistema de Tutorial - by Duge - 04.07.2014, 17:54
Re: Sistema de Tutorial - by Ts3 - 04.07.2014, 18:18
Re: Sistema de Tutorial - by Duge - 04.07.2014, 18:36
Re: Sistema de Tutorial - by Ts3 - 04.07.2014, 19:15
Re: Sistema de Tutorial - by Duge - 04.07.2014, 19:40

Forum Jump:


Users browsing this thread: 2 Guest(s)