The error is there is no overload matching this argument
function anncatct(plr)
{
local player = FindPlayer(plr);
if(player && player.Skin == 2) Announce("~b~Counter Terrorists", player, 8);
else return;
}
What is Counter Terrorits?
Which Generation server you are making?
@umar4911
You Making Like Counter Strike
Ask Kripton he is already make this generation
Quote from: =RK=MarineForce on Dec 27, 2017, 09:02 PMYou Making Like Counter Strike
Ask Kripton he is already make this generation
First dont double post. Edit the last one. And I want to make it on my own behalf
Quote from: umar4911 on Dec 27, 2017, 04:37 PMThe error is there is no overload matching this argument
function anncatct(plr)
{
local player = FindPlayer(plr);
if(player && player.Skin == 2) Announce("~b~Counter Terrorists", player, 8);
else return;
}
If you are using this function inside a class use
::Announce
Quote from: ! on Dec 28, 2017, 10:05 AMQuote from: umar4911 on Dec 27, 2017, 04:37 PMThe error is there is no overload matching this argument
function anncatct(plr)
{
local player = FindPlayer(plr);
if(player && player.Skin == 2) Announce("~b~Counter Terrorists", player, 8);
else return;
}
If you are using this function inside a class use
::Announce
Worked
function onPlayerRequestClass( player, classID, team, skin )
{
switch( skin )
{
case 87:
{
player.SetAnim(29,210);
Announce( " [Counter Terrorist ] ", player, 0 );
}
break;
case 2:
{
Announce( "****", player, 1 );
}
break;
}
Hello Umar Its Help!
Quote from: =RK=MarineForce on Dec 28, 2017, 11:16 AMfunction onPlayerRequestClass( player, classID, team, skin )
{
switch( skin )
{
case 87:
{
player.SetAnim(29,210);
Announce( " [ " + GetSkinName( player.Skin ) + " ] ", player, 0 );
}
break;
case 2:
{
Announce( "****", player, 1 );
}
break;
}
This is a minigame and your code also off topic