06.02.2011, 10:42
I did it
I hope that i have helped
pawn Код:
DrivingTheoryPoints[playerid]++;
format(string, sizeof(string), "%i points",DrivingTheoryPoints[playerid]);
SendClientMessage(playerid, COLOR_RED, string);
//The second code
new prhase[4];
switch(DrivingTheoryPoints[playerid])
{
case 0: format(prhase,4,"0");
case 1: format(prhase,4,"20");
case 2: format(prhase,4,"40");
case 3: format(prhase,4,"60");
case 4: format(prhase,4,"80");
case 5: format(prhase,4,"100");
}
format(string, sizeof(string), "%s points",prhase);