View Single Post
  #1  
Old 10-14-2009, 09:29 AM
racycle racycle is offline
smooth as eggs
racycle's Avatar
Join Date: Jul 2008
Location: Chanko
Posts: 136
racycle will become famous soon enough
Send a message via AIM to racycle
Setshape2 problem

Im trying to load a tree from a class however it dosent block at all, heres the local script

PHP Code:
//#Clientside
this.treetype="grass";
join("obj_tree"); 
and heres the class script i did
PHP Code:
//#CLIENTSIDE
function onCreated() {
if(
this.treetype=="grass"){
setimg ms_tree2.png;}
else if(
this.treetype=="dirt"){
setimg ms_tree3.png;}
else if(
this.treetype=="water"){
setimg ms_tree4.png;}
else if(
this.treetype=="test"){
setimg block.png;}
  
drawoverplayer;
  
setshape2(12,14, {
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000000000000,
   
000,22,22,22,22,220000,
   
000,22,22,22,22,220000,
   
000,22,22,22,22,220000});

__________________

Reply With Quote