Score system
#1

Hi guys,

i am here with another problem, i mean not a problem but.. question.

The thing i need is I cant find on internet or this forums some script witch will be like score system and stuff.

I will tell you what exactly i need.

I have an Cops vs Thief and I need a score system that will work for everybody.

So I got team Cop witch I need to be required by for example 50 points, so In OnPlayerRequestClass the player will be not enabled to select Cop if he will not have 50 points.

This is my OnPlayerRequestClass:
Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 226.5244,2508.5847,16.5112);
	SetPlayerCameraPos(playerid, 244.7385,2508.5847,16.5092);
	SetPlayerCameraLookAt(playerid, 226.5244,2508.5847,16.5112);
	switch(classid) 
    {
         case 0:
         {
              GameTextForPlayer(playerid, "~r~Thief", 4000, 3);
              SetPlayerTeam(playerid, Thief);
         }
         case 1:
         {
              GameTextForPlayer(playerid, "~r~Cop", 4000, 3);
              SetPlayerTeam(playerid, Cop);
         }
    }
	return 1;
}
Everything works just fine, but I need to do, what i described up. I would be really thankful.

And the second thing is how to set these points and save them. I got my register system but I really need to save this points somehow.


And last thing about the missions. Or just commands, you can just write me how and I will. If someone for example complete mission that I would make, it will give him 50 points.

Thanks guys, i just need to know how to do it and beleive me I will do it.
Reply


Messages In This Thread
Score system - by _GHT_MarK445 - 02.02.2015, 15:37
Re: Score system - by _GHT_MarK445 - 02.02.2015, 19:57
Re: Score system - by CalvinC - 02.02.2015, 20:03
Re: Score system - by _GHT_MarK445 - 02.02.2015, 20:31
Re: Score system - by CalvinC - 03.02.2015, 05:55
Re: Score system - by _GHT_MarK445 - 04.02.2015, 17:51
Re: Score system - by _GHT_MarK445 - 10.02.2015, 12:14
AW: Score system - by Saize - 10.02.2015, 12:16
Re: Score system - by CalvinC - 10.02.2015, 12:25
Re: Score system - by DaniceMcHarley - 10.02.2015, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)