/skiptutorial
#2

make this pTutorial a bool in your PlayerData enum which will be easy to use

PHP код:
//bool:pTutorial;
public OnPlayerCommandReceived(playeridcmdtext[])
{
    if (!
SQL_IsLogged(playerid) || (PlayerData[playerid][pTutorialStage] > || PlayerData[playerid][pKilled] > || PlayerData[playerid][pHospital] != -1))
        return 
0;
    if (
PlayerData[playerid][pTutorial] == true)
        return 
0;
        
    if (
PlayerData[playerid][pMuted])
     {
        
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: 1 Guest(s)