17.04.2015, 18:18
PHP код:
if(!IsPlayerAttachedObjectSlotUsed(playerid, i))
{
PoliceObjects[playerid][i] = 18636;
SetPlayerAttachedObject(playerid, i, PoliceObjects[playerid][i], 2, 0.152, 0.0, -0.01, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0xFFFFFFFF);
EditAttachedObject(playerid, i);
SetIntVar(playerid, "EditingPolice", 1);
return 1;
}