/skiptutorial
#6

here you go if i understood it right this time
PHP код:
public OnPlayerCommandReceived(playeridcmdtext[]) 

    if (!
SQL_IsLogged(playerid) || (PlayerData[playerid][pTutorialStage] > || PlayerData[playerid][pKilled] > || PlayerData[playerid][pHospital] != -1)) 
        return 
0
    if (
PlayerData[playerid][pTutorial] > 0)
    {
         if(
strfind(cmdtext"/skiptutorial"true)) return 1;
         else return 
0;
    }

    if (
PlayerData[playerid][pMuted] && strfind(cmdtext"/unmute"true)) 
     { 
        
SendErrorMessage(playerid"You are muted by the system."); 
        return 
0
    } 
    return 
1;  

Reply


Messages In This Thread
/skiptutorial - by GoldenLion - 15.07.2016, 10:52
Re: /skiptutorial - by gurmani11 - 15.07.2016, 11:25
Re: /skiptutorial - by GoldenLion - 15.07.2016, 12:13
Re: /skiptutorial - by gurmani11 - 15.07.2016, 12:32
Re: /skiptutorial - by GoldenLion - 15.07.2016, 12:50
Re: /skiptutorial - by gurmani11 - 15.07.2016, 13:10
Re: /skiptutorial - by GoldenLion - 15.07.2016, 14:00

Forum Jump:


Users browsing this thread: 2 Guest(s)