Job money
#7

Код:
if(CPGun[playerid] == 1) 
    {
        GivePlayerMoney(playerid, 500);
        DisablePlayerCheckpoint(playerid); 
        CPGun[playerid] = 2; 
        SetPlayerCheckpoint(playerid, 1358.7355,263.9266,19.5547, 3.0); 
        SendClientMessage(playerid, -1, "Job: Ai primit 500$ pentru ca ai preluat gunoiul, du-te la celalalt checkpoint.");
        return 1;
    }
    if(CPGun[playerid] == 2) 
    {
       GivePlayerMoney(playerid, 500);
        DisablePlayerCheckpoint(playerid); 
        CPGun[playerid] = 3;
        SetPlayerCheckpoint(playerid, 2045.4828,1386.7408,10.6719, 3.0); 
        SendClientMessage(playerid, -1, "Job: Ai primit 500$ pentru c-ai preluat gunoiul, du-te la celalalt checkpoint.");
        return 1;
    }
	 if(CPGun[playerid] == 3)
    {
		randommoney=random(1000)+2001;
		GivePlayerMoney(playerid, randommoney);
		DisablePlayerCheckpoint(playerid);
  		new pName[MAX_PLAYER_NAME], string[128];
		GetPlayerName(playerid,pName,sizeof(pName));
		format(string,sizeof(string), "Job: {58FF0A}%s{FFFFFF}, ai acumulat {58FF0A}%d$ {FFFFFF}pentru ca ai terminat misiunea de gunoier.",pName,randommoney);
		SendClientMessage(playerid,-1,string);
        return 1;
    }
OT: Ai noroc ca sunt roman ) primele 2 checkpoint-uri iti da 500$ iar al treilea iti da o suma la intamplare ( care poate fi maxim 1.000$ ) + 1.000$ + 1.000$ ( de la primele 2 checkpoints )
Reply


Messages In This Thread
Job money - by sKenzi1996 - 04.01.2016, 16:12
Re: Job money - by Lucky13 - 04.01.2016, 16:24
Re: Job money - by sKenzi1996 - 04.01.2016, 16:57
Re: Job money - by Riddick94 - 04.01.2016, 17:21
Re: Job money - by Lucky13 - 04.01.2016, 17:39
Re: Job money - by sKenzi1996 - 04.01.2016, 23:39
Re: Job money - by Lucky13 - 05.01.2016, 10:20
Re: Job money - by Godey - 05.01.2016, 10:31
Re: Job money - by sKenzi1996 - 05.01.2016, 18:37

Forum Jump:


Users browsing this thread: 1 Guest(s)