Raised This Month: $ Target: $400
 0% 

Correct or Not? I have do my best


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ilham92-cc-sakura
Senior Member
Join Date: Oct 2008
Location: /var/www/index.html
Old 02-20-2009 , 04:24   Re: Correct or Not? I have do my best
Reply With Quote #3

Woring Fine. but. when i type: /spwn only show:
"[Grenade]: Re-Spwan Enable"

it can't disable.

function miss to disable for player
PHP Code:
public spwn_cmd (victim)
{
    switch(
get_pcvar_num(amx_pcvar_0))
    {
        case 
1:
            
client_print(victimprint_chat"[Grenade]: Re-Spwan Enable")
        case 
0:
            
client_print(victimprint_chat"[Grenade]: Re-Spwan Disable")
    }

when i move that to:
PHP Code:
    if(is_user_alive(victim))    
    {
        
set_task(0.6,"respawnagain",victim);
        
client_print(0print_chat"[Grenade]: HE kill %s and respwan.",pl_name);
    }
    return 
PLUGIN_CONTINUE
can't compile and unable to on/off for player
__________________
ilham92-cc-sakura is offline
 



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 16:57.


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