19.10.2011, 19:59
Right from the actions.pwn filterscript in the SA-MP server package ..
pawn Код:
if (strcmp("/sit 8", cmdtext, true, 6) == 0)
{
if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT)
{
return SendClientMessage(playerid,0xFF0000AA,"You Cannot Use This Command Inside A Vehicle.");
}
LoopingAnim(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); // Dieing of Crack
return 1;
}