texturing maps.
#6

I would make like this.

pawn Code:
new Float:ObjPos[][6] = {
{-160.29330, 1188.42834, 20.48560,   0.00000, 0.00000, 270.33499},
{-169.85027, 1188.37012, 20.48560,   0.00000, 0.00000, 270.33499},
{-155.54945, 1183.70813, 20.48560,   0.00000, 0.00000, 0.00000},
{-174.56956, 1172.57227, 20.48560,   0.00000, 0.00000, 0.00000}
};

test[MAX_PLAYERS];


for(new i; i < sieof(ObjPos); i++)
{
test[playerid] = CreatePlayerObject(playerid, 19463,ObjPos[i][0], ObjPos[i][1, ObjPos[i][2, ObjPos[i][3], ObjPos[i][4], ObjPos[i][5]);
SetPlayerObjectMaterial(playerid, test[i], 0, 16070, "des_trees", "corporate3", 0);
}
Ofc I dont know in what context you use them, maybe loop is not even an option.
Reply


Messages In This Thread
texturing maps. - by Tuntun - 09.02.2016, 10:57
Re: texturing maps. - by ikey07 - 09.02.2016, 11:21
Re: texturing maps. - by Tuntun - 09.02.2016, 12:22
Re: texturing maps. - by ikey07 - 09.02.2016, 12:40
Re: texturing maps. - by Tuntun - 09.02.2016, 14:29
Re: texturing maps. - by ikey07 - 09.02.2016, 14:52
Re: texturing maps. - by Crayder - 09.02.2016, 16:48
Re: texturing maps. - by ikey07 - 09.02.2016, 18:00

Forum Jump:


Users browsing this thread: 1 Guest(s)