Score Messages
#7

I will try to explain your login here.

If your player has score less then 100, send TEST 1
if not (else) send LOW SCORE

After that (Its another if, you didnt chain it in previous) if player score is less then 1500 send TEST 2


One way to do it would be:

Check if player has score greater then 1500
Send test 2 message
if not, check if his score is greater then 100,
if it is send test 1 message
and if its not higher then 1500 and 100, only then send low score message.

pawn Код:
if(GetPlayerScore(playerid)  > 1500)
{
    SendClientMessage(playerid, 0xFF0000FF, "TEST 2 Sucess");
}
else if(GetPlayerScore(playerid)  > 100)
{
    SendClientMessage(playerid, 0xFF0000FF, "TEST 1");
}
else
{
    SendClientMessage(playerid, 0xFF0000FF, "LOW SCORE");
}
return 1;
Reply


Messages In This Thread
Score Messages - by Sting. - 17.12.2017, 09:28
Re: Score Messages - by RogueDrifter - 17.12.2017, 09:30
Re: Score Messages - by Sting. - 17.12.2017, 09:38
Re: Score Messages - by Konstantinos - 17.12.2017, 09:43
Re: Score Messages - by RogueDrifter - 17.12.2017, 09:44
Re: Score Messages - by Sting. - 17.12.2017, 09:53
Re: Score Messages - by DRIFT_HUNTER - 17.12.2017, 10:04

Forum Jump:


Users browsing this thread: 1 Guest(s)