12.11.2012, 12:00
this will work:
pawn Код:
if(!strcmp(cmdtext, "/open", true)){
MoveDynamicObject(impoundgate1, 1901.51, -1865.99, 14.65, 2.0);
MoveDynamicObject(impoundgate2, 1892.43, -1865.98, 14.65, 2.0);
SendClientMessage(playerid, 0x0000BBAA, "Impound Opened");
return 1;
}
if(!strcmp(cmdtext, "/close", true)){
MoveDynamicObject(impoundgate1, 1901.51, -1865.99, 14.65, 2.0);
MoveDynamicObject(impoundgate2, 1892.43, -1865.98, 14.65, 2.0);
SendClientMessage(playerid, 0xAA3333AA, "Impound Closed");
return 1;
}
return 1;
}
}