level system [question]
#1

Hey, im trying to create level system. But im kinda noob at pawno, su could you help me? I try to create my own, but im not sure if its good. Here :

Код HTML:
SetTimer("Check", 1000, true);
Код HTML:
forward Check(playerid);
public Check(playerid)
{
if(GetPlayerScore(playerid)>=0)
{
Lvl1[playerid]=true;
PlayerTextDrawShow(playerid, Level1[playerid]);
}

if(GetPlayerScore(playerid)>=150)
{
Lvl2[playerid]=true;
PlayerTextDrawDestroy(playerid, Level1[playerid]);
PlayerTextDrawShow(playerid, Level2[playerid]);
}

if(GetPlayerScore(playerid)>=400)
{
Lvl3[playerid]=true;
PlayerTextDrawDestroy(playerid, Level2[playerid]);
PlayerTextDrawShow(playerid, Level3[playerid]);
}
Is this a good system? What can be improved?
Reply


Messages In This Thread
level system [question] - by Supermaxultraswag - 15.11.2014, 09:06
Re: level system [question] - by DavidSparks - 15.11.2014, 09:32
Re: level system [question] - by k0r - 15.11.2014, 09:46
Re: level system [question] - by Supermaxultraswag - 15.11.2014, 10:01
Re: level system [question] - by Supermaxultraswag - 15.11.2014, 10:22
Re: level system [question] - by CutX - 15.11.2014, 10:29

Forum Jump:


Users browsing this thread: 1 Guest(s)