28.08.2015, 13:02
Код:
CMD:tree(playerid, params[]) { new Float:x[200], Float:y[200], Float:z[200]; new randomtree[][3]= { {697}, {704}, {731} }; new randomtree1=random(sizeof(randomtree)); for(new i; i<sizeof(treeobject); i++) { if(!IsValidDynamicObject(treeobject[i])) { GetPlayerPos(playerid, x[i], y[i], z[i]); treeobject[i]=CreateDynamicObject(randomtree1, x[i], y[i],z[i]+10, 0, 0, 0.00); } } return 1; }
Код:
warning 204: symbol is assigned a value that is never used: "randomtree"