View Single Post
  #11  
Old 05-19-2008, 01:08 AM
Stryke Stryke is offline
Scripter
Join Date: Apr 2008
Posts: 157
Stryke is an unknown quantity at this point
PHP Code:
function onActionServersidecmddxdywep )
{
  switch ( 
cmd )
  {
    case 
"dropWep":
    {
      for(
temp.i=0;temp.i<player.weapons.size();temp.i++;)
      {
        if(
player.weapons[temp.i].name == wep)
        {
          
this.wepID temp.i;
          break;
        }
      }
      
removeweapon(wep);
      
temp.putnpc2dxdy"" );
      
temp.i.join("object_droppeditem");
      
temp.i.wep wep;
      
temp.i.img player.weapons[this.wepID].image;
    }
  }

Why is it giving me the wrong images?
Reply With Quote