Help with score and client message
#1

Fixed!
Reply
#2

something like that .
pawn Код:
if(GetPlayerScore(playerid) == 2500)
{
SendClientMessage(playerid,COLOR_YELLOW, "[ Congratulation, you have been promoted to Regular Player 1 ]");
SetPlayerScore(GetPlayerScore(playerid)+=2);
}
if(GetPlayerScore(playerid) == 5000)
{
SendClientMessage(playerid,COLOR_YELLOW, "[ Congratulation, you have been promoted to Regular Player 2]");
SetPlayerScore(GetPlayerScore(playerid)+=2);
}
Reply
#3

Fixed!
Reply
#4

put it under OnPlayerConnect it will tell the player that he reachs the next rank and add +2 to his score to avoid giving the player same message all times that he connect to the server but the score must be saved

sorry fo my bad english
Reply
#5

Fixed!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)