14.02.2014, 20:13
Try this one:
SetObjectMaterial(Object1, 0, 10861, "groundbit_sfse", "desgreengrass", 0);
https://sampwiki.blast.hk/wiki/SetObjectMaterial
If you need the "mapping" too:
Might be wrong angle when you replace it, I don't know what's wrong always worked before...
SetObjectMaterial(Object1, 0, 10861, "groundbit_sfse", "desgreengrass", 0);
https://sampwiki.blast.hk/wiki/SetObjectMaterial
If you need the "mapping" too:
pawn Код:
CreateObject(10983, -2076.65, 222.85, 31.22, 0.00, 0.00, 0.00);
CreateObject(11340, -2079.95, 159.20, 30.87, 356.86, 0.00, 3.14);
CreateObject(11223, -2049.17, 250.32, 33.08, 0.00, 0.00, 0.00);
RemoveBuildingForPlayer(playerid, 10983, -2076.6484, 222.8516, 31.2188, 0.25);
RemoveBuildingForPlayer(playerid, 11143, -2076.6484, 222.8516, 31.2188, 0.25);
RemoveBuildingForPlayer(playerid, 11223, -2049.1719, 250.3203, 33.0781, 0.25);
RemoveBuildingForPlayer(playerid, 11339, -2079.9531, 159.2031, 30.8672, 0.25);
RemoveBuildingForPlayer(playerid, 11340, -2079.9531, 159.2031, 30.8672, 0.25);