Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: kokia on Jul 25, 2015, 03:10 PM

Title: Help
Post by: kokia on Jul 25, 2015, 03:10 PM
Hey guys I was testing this feature from ADM script but it doesn't works in my script, Any ideas how to fix it?
local C = random( 0, Colour.len() - 1 );
MessagePlayer( "" + Colour[C] + "Press F4 to return to class selection after death.", player );
Error:
The function "Colour" Doesn't exists.
Title: Re: Help
Post by: [VSS]Shawn on Jul 25, 2015, 03:13 PM
the function exist in ADM script called Colour u need to add it in your server

Colour <- [ "[#FFFF36]", "[#FF3636]", "[#FFFF46]", "[#FF7646]", "[#FFF256]", "[#FF9656]", "[#FF9856]", "[#FF4556]", "[#FF7256]" ];