Raised This Month: $ Target: $400
 0% 

Do something after client joined team..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Br41n
Junior Member
Join Date: Apr 2006
Location: Magdeburg, Germany
Old 12-12-2006 , 14:27   Do something after client joined team..
Reply With Quote #1

Hi,
i want to do something, when a player joined a team.. but it doesn't work.. it's my first plugin and I never coded with C++, but i read the documentation with the basics of pawn..

My Code:
PHP Code:
public client_putinserver id ) {
    
// on join say hello to all
    
    
client_cmd(id"say hi")
    
    return 
PLUGIN_HANDLED

It doesn't work... I'm sure, that i did something wrong, but i don't know, what... Do I have to use set_task or do I have to set the variable "id"?

Thanks
Br41n
__________________
Br41n is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode