Jump to content
  • 0

Problema comanda /quitjob


Question

Posted (edited)

Problema intalnita (descriere):Am trecut comanda /quitjob pe zcmd dar imi da niste erori si nu inteleg de ce!
Ero(area / rile) / warning-(ul / urile):4 erorisi un warning:error 029: invalid expression, assumed zero de 2 ori,error 017: undefined symbol "cmd_quitjob",fatal error 107: too many error messages on one line,warning 217: loose indentation
Liniile de cod / sursa / script-ul(obligatoriu):

CMD:quitjob(playerid, params[])
{
            new quitjob;
            SendClientMessage(playerid, COLOR_WHITE, "You have quit your job.");
            playerVariables[playerid][pJob] = 0;
            PlayerIsSweeping[playerid] = 0;
            DisablePlayerCheckpoint(playerid);
            DisablePlayerRaceCheckpoint(playerid);
            playerVariables[playerid][pCheckpoint] = 0;
            playerVariables[playerid][pBackup] = -1;
            PlayerFind[playerid] = 999;
            CP[playerid] = 0;
            CPR[playerid] = 0;
            SendClientMessage(playerid, COLOR_WHITE,"Checkpoint disabled.");
            return 1;
}

Imagini / Video (optional):http://imgur.com/a/3nhWQ
Ati incercat sa rezolvati singur?: Da, dar daca modific ceva da si mai multe erori.

Edited by Balvin[]

3 answers to this question

Recommended Posts

  • 0
Posted

Inafara publicului,cauta public OnPlayerConnect(playerid) si pune mai sus de el.

 

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.