Raised This Month: $ Target: $400
 0% 

[DELETED]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 05-12-2018 , 17:16   Re: [HELP] Doping.amxx
Reply With Quote #4

PHP Code:
public OyuncuHiz(id){  
    if(
is_user_alive(id) && entity_get_float(idEV_FL_maxspeed) != 1.0) {  
        new 
para cs_get_user_money(id
         
        if (
para >= get_pcvar_num(cvar_doping_fiyat)){ 
            
cs_set_user_money(idpara get_pcvar_num(cvar_doping_fiyat)) 
            
doping[id] = true 
            entity_set_float
(idEV_FL_maxspeeddopinghiz)  
            
emit_sound(idCHAN_AUTOdopingkullan1.0ATTN_NORM0PITCH_NORM
            new 
isim[32
            
get_user_name(idisim,31
            
ColorChat(0,NORMAL,"^4[WLG]:^1 ^3DOPING:^1 ^3%s^1 Is Under DOPING!",isim
            
ColorChat(id,NORMAL,"^4[WLG]:^1 ^3DOPING:^1 You have used Doping and have increased your speed!",isim
            
set_task(20.0"Hizkaldir"1991+id
        } 
        else { 
            
ColorChat(id,NORMAL,"^4[WLG]:^1 ^3DOPING:^1 Not enough money ^4to use^1 Doping. ^4Doping Price:^1 ^3%d^1 USD"get_pcvar_num(cvar_doping_fiyat)) 
            
emit_sound(idCHAN_AUTOupss1.0ATTN_NORM0PITCH_NORM
        } 
    }  


public 
Hizkaldir(id

    
id -= 1991 
     
    set_user_maxspeed
(iddopingsizhiz
    
client_print(id,print_chat,"[WLG]: Doping effect."
    
//remove_task(1991) 
    
doping[id] = false 

I just change
PHP Code:
set_task20.0 "HizKaldir" 1991 id 
=>
PHP Code:
set_task(20.0"Hizkaldir"1991+id
Error reason is unknow
__________________
My plugin:

Last edited by Celena Luna; 05-12-2018 at 17:18.
Celena Luna 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 04:35.


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