06.12.2017, 14:53
(
Последний раз редактировалось Jaxson; 06.12.2017 в 17:55.
)
I've also noticed that the script behaves differently on Windows and Linux servers. In my script, on a Linux server, SpawnPlayer function doesn't call OnPlayerSpawn, while on a Windows server SpawnPlayer works as intended and calls OnPlayerSpawn.
Another thing that doesn't work on any of OS I tried is SetPlayerObjectMaterial when trying to set a material of a custom object.
This works (the statue get's a layer of a different color):
While this doesn't:
Another thing that doesn't work on any of OS I tried is SetPlayerObjectMaterial when trying to set a material of a custom object.
This works (the statue get's a layer of a different color):
pawn Код:
SetObjectMaterial(CreateObject( -1041, 1290.77868, 754.34844, 11.02, 0.00000, 0.00000, 90.00000), 0, -1041, "statuejackal", "statuejackal", 0xFF81A0A0);
pawn Код:
SetPlayerObjectMaterial(playerid, CreatePlayerObject(playerid, -1041, 1290.77868, 754.34844, 11.02, 0.00000, 0.00000, 90.00000), 0, -1041, "statuejackal", "statuejackal", 0xFF81A0A0);