Help

Started by kokia, Jul 25, 2015, 03:10 PM

Previous topic - Next topic

kokia

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.

[VSS]Shawn

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]" ];