SA-MP Forums Archive
Hello, Guys i Want Teach Me in Smail Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Hello, Guys i Want Teach Me in Smail Help (/showthread.php?tid=533638)



Hello, Guys i Want Teach Me in Smail Help - nightday - 25.08.2014

Hello,
i Want Know How To Make Checkpoints With Commands And Money And Defence it to Anthor Checkpoints Dont Mix
And When i Enter it Disapear Help Please


Re: Hello, Guys i Want Teach Me in Smail Help - Gogorakis - 25.08.2014

Here: https://www.******.gr/webhp?sourceid...ints+wiki+samp


Re: Hello, Guys i Want Teach Me in Smail Help - nightday - 25.08.2014

But i Make it With CMD: > ZCMD i mean
i Have 10 Checkpoints i done otmatic disable i want Make it after /robing i get money and get 6Wanted Star
please how Wiki not full help


Re: Hello, Guys i Want Teach Me in Smail Help - nightday - 25.08.2014

i Have Problems To Not Show All Checkpoints


Re: Hello, Guys i Want Teach Me in Smail Help - nightday - 26.08.2014

Please Help i Have 10 Checkpoints And All Not Show after Fix i Want Done 1 its Disable Please Any Help


Re: Hello, Guys i Want Teach Me in Smail Help - nightday - 26.08.2014

Help Please

Please Help i Have 10 Checkpoints And All Not Show after Fix i Want Done 1 its Disable Please Any Help


Re: Hello, Guys i Want Teach Me in Smail Help - JeevanJyothish - 26.08.2014

What are you saying say it properly I don't understand .
Are you saying that you have 10 checkpoints and after you rob it would not show after the stars go then it will show ?


Re: Hello, Guys i Want Teach Me in Smail Help - Dotayuri - 26.08.2014

Are you trying to set all 10 at once?


Re: Hello, Guys i Want Teach Me in Smail Help - nightday - 26.08.2014

i Have 10 Checkpoints in 1 Commands
And its Only Showing 1 Checkpoints not 10 Checkpoints i want make for him Defince to 10 Checkpoints after i /robing its There EVery Things Checkpoints To i Want Defince it to not Mix With Somone Checkpoints House Or any things


Re: Hello, Guys i Want Teach Me in Smail Help - prooftzm - 26.08.2014

my friend. You cannot show 10 checkpoints once a time. if you want to HAVE 10 checkpoints ( i mean if the player go in the first checkpoint, the 2rd checkpoint shows upand so on up to the checkpoint 10 )
You need to do something like that
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(CPjob[playerid] == 1) // if player enter in the first checkpoint
    {
        GivePlayerMoney(playerid, 1000 + random(12000)); // give him some money
        SendClientMessage(playerid, COL_JMEK, "You recive some money! Go to next checkpoint.");
        SendClientMessage(playerid,COL_JMEK, "1 Respect Point Earned!");
        SetPlayerCheckpoint(playerid, 736.1406,-1346.1637,13.5148, 4.0); // player recive another checkpoint, in your case, checkpoint nr.2
   }
    else if(CPjob[playerid] == 2)
    {
        GivePlayerMoney(playerid, 2000 + random(12000));
        SendClientMessage(playerid, COL_JMEK, "You recive some money, again!Go to your last checkpoint.");
        SendClientMessage(playerid,COL_JMEK, "1 Respect Point Earned!");
        PlayerInfo[playerid][pRP] += 1;
        SetPlayerCheckpoint(playerid, 594.4183,-1514.3046,15.1957, 4.0);
        CPjob[playerid] = 3;
    }
    else if(CPjob[playerid] == 3)
    {
        GivePlayerMoney(playerid, 3000 + random(12000));
        SendClientMessage(playerid, COL_JMEK, "Here is your last payment!");
        SendClientMessage(playerid,COL_JMEK, "2 Respect Point Earned!");
        PlayerInfo[playerid][pRP] += 2;
        DisablePlayerCheckpoint(playerid);
        CPjob[playerid] = 0;
}
return 1;
}