вот небольшой пример встяски экрана
на CSS
Код
new Handle:hBf = StartMessageOne("Shake", victim);
if(hBf != INVALID_HANDLE)
{
BfWriteByte(hBf, 0);
BfWriteFloat(hBf, flAmplitude);
BfWriteFloat(hBf, 1.0);
BfWriteFloat(hBf, flDuration);
EndMessage();
}
на CS:GO
Код
new Handle:hBf = StartMessageOne("Shake", victim);
if(hBf != INVALID_HANDLE)
{
PbSetInt(hBf, "command", 0);
PbSetFloat(hBf, "local_amplitude", flAmplitude);
PbSetFloat(hBf, "frequency", 1.0);
PbSetFloat(hBf, "duration", flDuration);
EndMessage();
}