[HELP] Grass texture
#1

Hello fellas! Maybe someone has a grass texture in the San Fierro instead of construction place? Cuz I can't do this very well :/ I'll give +rep
Reply
#2

Try this one:

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);
Might be wrong angle when you replace it, I don't know what's wrong always worked before...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)