Какая интинити или функция служит скоростью и написание в чате команды. Допустим
!cmd
public Action:command_Commander(client, args)
{
if(!commanderExist) {
if(GetClientTeam(client) == CS_TEAM_CT && IsPlayerAlive(client)) {
CPrintToChatAll(MESS, "BecomeCommander", client);
commanderExist = true;
commander = client;
SetEntityRenderColor(client, 0, 0, 255, 255);
SetEntityHealth(client, 130);
SetClientListeningFlags(client, VOICE_NORMAL);
вот мой код дает хп и окрас. Нужно сделать что бы давало и скорость.Добавлено (04.04.2012, 18:29:53)
---------------------------------------------
Code
public Action:command_Commander(client, args)
{
if(!commanderExist) {
if(GetClientTeam(client) == CS_TEAM_CT && IsPlayerAlive(client)) {
CPrintToChatAll(MESS, "BecomeCommander", client);
commanderExist = true;
commander = client;
SetEntityRenderColor(client, 0, 0, 255, 255);
SetEntityHealth(client, 130);
SetClientListeningFlags(client, VOICE_NORMAL);