09.02.2016, 10:57
I want to re-texture them:
Why this is not working?:
new test[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
test[playerid] = CreatePlayerObject(playerid, 19463, -174.57477, 1183.59570, 20.48560, 0.00000, 0.00000, 0.00000);
SetPlayerObjectMaterial(playerid, test[playerid], 0, 16070, "des_trees", "corporate3", 0);
Code:
CreateObject(19463, -160.29330, 1188.42834, 20.48560, 0.00000, 0.00000, 270.33499); CreateObject(19463, -169.85027, 1188.37012, 20.48560, 0.00000, 0.00000, 270.33499); CreateObject(19463, -155.54945, 1183.70813, 20.48560, 0.00000, 0.00000, 0.00000); CreateObject(19463, -174.56956, 1172.57227, 20.48560, 0.00000, 0.00000, 0.00000);
new test[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
test[playerid] = CreatePlayerObject(playerid, 19463, -174.57477, 1183.59570, 20.48560, 0.00000, 0.00000, 0.00000);
SetPlayerObjectMaterial(playerid, test[playerid], 0, 16070, "des_trees", "corporate3", 0);