Thread: Guild Script
View Single Post
  #2  
Old 08-25-2007, 03:28 AM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
Well, first off, you cant set a players guild clientside.
Second, I dont like it when people mix gs1 and gs2. -.-
Do something simple like this:
PHP Code:
function onActionGuild(){
player.guild params[0];
}
//#CLIENTSIDE
function onPlayerChats(){
  if (
player.chat.starts("/guild")){
    
triggeraction(0,0,"guild",this.name,player.chat.substring(7,-1));
  }

That should do it...
Reply With Quote