03.11.2012, 09:33
i made a cmd /hgate but i want only the owner of the house to open and close it and the renters..
PHP код:
if(strcmp(cmd, "/hgate", true) == 0)
{
if(PlayerToPoint(10, playerid,1269.3140,-912.9897,41.8798))
{
MoveDynamicObject(house, 1598.268677, -1638.331177, 13.752552, 3.0);
SetTimer("house",5000, false);
return 1;
}
}