02.02.2015, 15:37
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:
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.
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; }
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.