05.06.2016, 12:13
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
print("Called");
if(strcmp(cmdtext, "/sit", true) == 0)
{
ApplyAnimation(playerid,"PED","SEAT_idle",4,0,0,0, 1,0,1);
print("Animation Applied");
return 1;
}
return 0;
}