lol? its a piece of cake, you just have to write few lines in sanny builder.
{$CLEO .cs}
0000: NOP
0B34: samp register_client_command "lag.cs" to_label @lagdotcs_activate
31@ = 0
:lagdotcs
wait 0
if
31@ == 1
then
Actor.SetImmunities($PLAYER_ACTOR, 1, 1, 0, 0, 1)
wait 250
...