02.02.2012, 01:56
How would I make it so if say;
I tried it similar to that, but once it reaches 10, 20, 30, etc. It doesn't do Message Two, it does Message 1 still.
pawn Код:
Player[playerid][Somevarable] += 1;
if(Player[playerid][Somevarable] <= 9)
{
SendClientMessage(playerid, COLOR_SOMECOLOR, " MESSAGE 2 ");
}
//It'd say that from 1-9
//then at 10 say
else if(Player[playerid][Somevarable] == 10)
{
SendClientMessage(playerid, COLOR_SOMECOLOR, " SOME DIFFERNT MESSAGE! ");
}
//then at 11-19 say
else if(Player[playerid][Somevarable] <= 19)
{
SendClientMessage(playerid, COLOR_SOMECOLOR, " SAME AS MESSAGE 1! ");
}
// etc.