Raised This Month: $ Target: $400
 0% 

Another problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
qUneT
New Member
Join Date: Oct 2013
Old 05-12-2014 , 03:49   Another problem
Reply With Quote #1

Hey.I have another problem with my VIP system.
I have this:
PHP Code:
public Showrod(id
{
    
show_menu(idKeysrod"Guns Menu^n\w1. M4a1+Deagle+Armura 100^n\w2. AK47+Deagle+Armura 100^n\w3. Set de Grenazi^n\w4. Gravity+Viteza^n\w5. Silent Walk+Transparenta^n0. Exit^n", -1"rod"// Display menu
}
public 
Pressedrod(idkey
{
    
    switch (
key) {
        case 
0: {
            new 
name32 ];
            
get_user_nameidnamesizeof name );
            
StripWeapons(idPrimary)
            
StripWeapons(idSecondary);
            
give_item(id,"weapon_m4a1")
            
give_item(id,"weapon_deagle")
            
give_item(id"item_assaultsuit");
            
give_item(id"item_thighpack");
            
cs_set_user_bpammo(idCSW_M4A190 );
            
cs_set_user_bpammo(idCSW_DEAGLE35 );
            
printtoall0"^x04[VIP] %s a ales M4a1+Deagle+Armura 100",name);
            }

        case 
1: {
            new 
name32 ];
            
get_user_nameidnamesizeof name );
            
StripWeapons(idPrimary)
            
StripWeapons(idSecondary);
            
give_item(id,"weapon_ak47")
            
give_item(id,"weapon_deagle")
            
give_item(id"item_assaultsuit");
            
give_item(id"item_thighpack");
            
cs_set_user_bpammo(idCSW_AK4790);
            
cs_set_user_bpammo(idCSW_DEAGLE35 );
            
printtoall0"^x04[VIP] %s a ales AK47+Deagle+Armura 100",name);
            }

        case 
2: {
            new 
name32 ];
            
get_user_nameidnamesizeof name );
            
StripWeapons(idGrenades)
            
give_item(id"weapon_hegrenade");
            
give_item(id"weapon_flashbang");
            
give_item(id"weapon_flashbang");
            
give_item(id"weapon_smokegrenade");
            
give_item(id"item_assaultsuit");
            
give_item(id"item_thighpack");
            
printtoall0"^x04[VIP] %s a ales Pachetul de Grenazi",name);
            }

        case 
3: {
            new 
name32 ];
            
get_user_nameidnamesizeof name );
            
set_user_maxspeedid550.0 );
            
set_user_gravityid650.0 );
            
printtoall0"^x04[VIP] %s a ales Graviti+Viteza",name);
            }

        case 
4: {
            new 
name32 ];
            
get_user_nameidnamesizeof name );
            
set_user_rendering(idkRenderFxNone000kRenderTransAlpha170)
            
set_user_footsteps(id1)
            
printtoall0"^x04[VIP] %s a ales Transparenta+Silent Walk",name);
            }            

        case 
9: {             
            }
             }
    return 
PLUGIN_CONTINUE

I press 4 or 5 and nothing happens.

what is the problem?

Sorry my english again.

Last edited by qUneT; 05-12-2014 at 11:29.
qUneT is offline
swapped
BANNED
Join Date: Mar 2014
Location: OrpheuRegisterHook
Old 05-12-2014 , 04:42   Re: Another problem
Reply With Quote #2

romanian !!!!!!

read this tut: https://forums.alliedmods.net/showthread.php?t=46364
swapped is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-12-2014 , 10:30   Re: Another problem
Reply With Quote #3

The forum rules require that your topic title be descriptive. Please update your title to describe your issue or question. If you fail to do so, you risk your thread being trashed.
__________________
fysiks is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-12-2014 , 19:08   Re: Another problem
Reply With Quote #4

Take a look at this thread.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Reply



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 09:38.


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