12.12.2014, 05:12
Quote:
Can you post your "CreateRoadblock" Function please? As it's more than likely something to do with that.
|
Код:
stock CreateRoadblock(Object,Float:x,Float:y,Float:z,Float:Angle) { for(new i = 0; i < sizeof(Roadblocks); i++) { if(Roadblocks[i][sCreated] == 0) { Roadblocks[i][sCreated] = 1; Roadblocks[i][sX] = x; Roadblocks[i][sY] = y; Roadblocks[i][sZ] = z-0.7; Roadblocks[i][sObject] = CreateDynamicObject(Object, x, y, z-0.9, 0, 0, Angle); return 1; } } return 0; }