/skiptutorial
#4

ok put it in ur skip tutorial command
PHP код:
CMD:skiptutorial(playerid,params[])
{
         if(
PlayerData[playerid][pTutorial] == 0) return SendClientMessage(playerid,-1"You are not in tutorial.");    

this will be set as this

PHP код:
public OnPlayerCommandReceived(playeridcmdtext[])
{
    if (!
SQL_IsLogged(playerid) || (PlayerData[playerid][pTutorialStage] > || PlayerData[playerid][pKilled] > || PlayerData[playerid][pHospital] != -1))
        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: 8 Guest(s)