03.10.2010, 04:16
Well, i have no clue how to do this. I keep attempting to try to do this, but everytime messing up my script. So here is the problem.
I need help on that second part. Like I got the getplayerscore and if his score is less then 250 then he will have 3D text saying recruit.
But then I have problem. I want to make another rank. Where I get the players score and it is more than 250 but less than 350.
pawn Код:
if(GetPlayerScore(playerid) < 250)
{
SetPlayerWantedLevel(playerid, 1);
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
Newb[playerid] = Create3DTextLabel("Recruit",0x00FFFFFF,X, Y, Z+2.0,20.0,1);
Attach3DTextLabelToPlayer(Newb[playerid],playerid,0,0,1.2);
}
else if(GetPlayerScore(playerid) > 250);
{
//not done yet
}
But then I have problem. I want to make another rank. Where I get the players score and it is more than 250 but less than 350.
pawn Код:
else if (GetPlayerScore (playerid) > 250 & < 350 // I want it where they have to be more than 250 but less than 350.
{
SetPlayerWantedLevel(playerid, 2);
}