Jump to content

loading..

Membru
  • Posts

    20
  • Joined

  • Last visited

Posts posted by loading..

  1. Desktop\server samP\gamemodes\ew.pwn(242) : warning 209: function "cmd_startjob" should return a value

    uitati liniile, (comanda)

    CMD:startjob(playerid, params[]) {
        if(PlayerJob[playerid] == 0) return SendClientMessage(playerid, -1, "Nu ai JOB");
        switch(PlayerJob[playerid]) {
            case 1: {
                if(!IsPlayerInRangeOfPoint(playerid, 7.0, 1070.3855, 1314.1974, 10.9171)) {
                    SendClientMessage(playerid, -1, "Nu esti in zona in care trebuie sa muncesti");
                    SetPlayerCheckpoint(playerid, 1070.3855, 1314.1974, 10.9171, 7.0);
                    Checkpoint[playerid] = 1;    

                    return 1;
                }
            }        
        }
    }

×
×
  • 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.