26.01.2013, 18:42
Quote:
Dark_Rain, how can i set it so that i can do it with more than one rank? Because the same code wouldnt work because it would be detected.
|
pawn Код:
switch(PlayerInfo[playerid][Xp])
{
case 20:
{
SendClientMessage(playerid, COLOR_GREEN, "You have been promoted to Private I!");
}
case 40:
{
SendClientMessage(playerid, COLOR_GREEN, "You have been promoted to Private II!");
}
//etc.
}