Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Debian on Sep 12, 2015, 03:22 AM

Title: some functions need details
Post by: Debian on Sep 12, 2015, 03:22 AM
Any details about these ? ???

Player.Class
Player.Colour
Player.HasChatTags
Player.HasMarker
Player.Redirect
Player.SecWorld
Player.Slot               // by default it is 0
Player.StandingOnObject
Player.StandingOnVehicle    // I need this
Player.PutInVehicleSlot


GetDeathmatchScoreboard
SetDeathmatchScoreboard

know details of some functions, Correct me if i'm wrong.
Player.GameKeys  // to find multiple/single keys player is pressing, shitft + Up = 33792
Player.Away // its true if player is spawned, false if player is spawned just as another player.isspawned
Title: Re: some functions need details
Post by: FinchDon on Sep 12, 2015, 03:30 AM
i k now bit of them Player.Class = your team class

player.hasMarker used for hide and show in radar

just :D
Title: Re: some functions need details
Post by: EK.IceFlake on Sep 12, 2015, 03:41 AM
RGB player.Color; //Color on radar, messages and F5
Function player.Redirect(...); //Redirect player to another server
Boolean? player.StandingOnObject(object); //Is he standin on tat object
Boolean? player.StandingOnVehicle(vehicle); //Is he standin on tat car
Boolean player.Away; //Him paused? Maybe death evading or... you know

DM Scoreboard: scores when ya do F5
Title: Re: some functions need details
Post by: KAKAN on Sep 12, 2015, 04:50 AM
GetDeathmatchScoreboard
SetDeathmatchScoreboard

This 2 functions are useless, they won't work unless you made a function regarding to it.
You can use onPlayerKill(...) { killer.Score++ }