Raised This Month: $ Target: $400
 0% 

[HELP] Need Respawn dead player as Terrorist


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
filo
BANNED
Join Date: Jul 2008
Location: Venezuela, What did you
Old 09-09-2008 , 12:48   [HELP] Need Respawn dead player as Terrorist
Reply With Quote #1

I am too new scripthing (this is my first scripth) and i want to know what is wrong with my code

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>


#define PLUGIN "Respawn as T"
#define VERSION "1.0"
#define AUTHOR "Filo"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say respawn""respawn")


}


public 
respawn(id)
{
    if(
is_user_connected(id))
    {
        if (
get_user_health"0"))
    
set_user_health "100" )
    
cs_set_user_team "1" )
        
}


Last edited by filo; 09-09-2008 at 13:15.
filo is offline
Send a message via AIM to filo Send a message via MSN to filo
 



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 03:13.


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