View Single Post
  #18  
Old 05-19-2008, 01:46 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by cbk1994 View Post
PHP Code:
triggerserver("dropWep",dx,dy,wep,player.weapons[wepid].image); 
Do you know something I don't?

I recall

PHP Code:
triggerserver"gui", [...] );
triggerserver"weapon", [...] ); 
Oops!

Quote:
Originally Posted by Stryke View Post
Solved. The problem was I was supposed to access the image of the player's weapon on the clientside, and i was trying to access it off the serverside. Thanks guys!
Heh, I'll just point out... if you're having problems like this, debug it. If you ever have a problem, start echoing crap that you suspect is the culprit. In this case, the image isn't setting? Most logical deduction would be that the variable you're assigning the image name to isn't correct. Thus, echo the variable you're using to set the image name. If it IS correct... then come here because something isn't right. If it's null, then you've messed up somewhere else when trying to set it. Go back and think hard and try to figure out what. Debugging is crucial and can most likely make you realize it was a simple problem that you could have caught a lot earlier on your own.

Last edited by Tolnaftate2004; 05-19-2008 at 03:03 AM..
Reply With Quote