View Single Post
  #8  
Old 06-17-2007, 01:14 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by Novo View Post
should be

PHP Code:
with plyr )
{
  
triggerclient("weapon""systemMain"""); 


Quote:
Originally Posted by zokemon View Post
The should do the same thing but I never seem to be able to get obj.triggerclient(); to work. I always have to do with (obj) triggerclient(); instead.

You use with() only when you're trying to call a function to a player that is not a player function. For player functions, you do obj.function, which in this case plyr.triggerclient() would be correct.
Reply With Quote