loading.. Posted January 2, 2018 Posted January 2, 2018 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; } } } }
.MarYuS. Posted January 2, 2018 Posted January 2, 2018 Practic ar veni asa 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; } } }
loading.. Posted January 2, 2018 Author Posted January 2, 2018 rezolvai inainte, dar multumesc de idee frt
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now