19.07.2010, 19:51
Quote:
I am working on an animation filterscript.
I want to disable the cmd /sit in vehicles for an example. Here is my current code, and it doesn't work. Код:
if (strcmp("/sit", cmdtext, true, 10) == 0) { if(GetVehicleModel((0); { ApplyAnimation (playerid, "PED", "SEAT_IDLE",1,1,1,1,0,0); } return 1; } |
pawn Код:
if (strcmp("/sit", cmdtext, true, 10) == 0)
{
if(GetVehicleModel (playerid == 0)
{
ClearAnimations(playerid);
}
return 1;
}