Norhy Posted January 30, 2012 Share Posted January 30, 2012 Hello. I'm sorry for asking such stupid questions, but i'm new to Scripting, i've readed the Wiki too, but i need to know Something. 1. How to make a Scoreboard Group with Color. Like in SAUR, they have a Group called SWAT with the color Blue, and the group stay forever. And they have an another Scoreboard, i have a Another, where my Group color Doesn't appear. 2. How to give a Player a Skin at the beginning and a weapon. I want to make a group called SWAT so i need color, skins and weapons. 3. Always, when i die at testing my new script, my char doesn't Respawn. How to make that my char respawn at the All Saints hospital? I got the x,y,z cords. Thank's for help and sry for noobish questions. I want to learn fast Thank's.. Link to comment
JR10 Posted January 30, 2012 Share Posted January 30, 2012 1. If it's a team it's auto colored by the scoreboard according to it's color. 2. Use spawnPlayer arguments, check the wiki page: spawnPlayer 3. addEventHandler ( "onPlayerWasted" , root , function ( ) fadeCamera ( source,false ) setTimer ( spawnPlayer , 1000 , 1 , source, x, y, z ) ) setTimer ( fadeCamera , 1000 , 1 , source,true ) end) Link to comment
Norhy Posted January 30, 2012 Author Share Posted January 30, 2012 1. If it's a team it's auto colored by the scoreboard according to it's color.2. Use spawnPlayer arguments, check the wiki page: spawnPlayer 3. addEventHandler ( "onPlayerWasted" , root , function ( ) fadeCamera ( source,false ) setTimer ( spawnPlayer , 1000 , 1 , source, [color=#FF0000]x, y, z[/color] ) ) setTimer ( fadeCamera , 1000 , 1 , source,true ) end) The cords where to spawn right? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now