AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   I dont know what's wrong..help please? :) (https://forums.alliedmods.net/showthread.php?t=168731)

mix97mix 10-03-2011 07:21

I dont know what's wrong..help please? :)
 
1 Attachment(s)
Please fix errors.
There are 2.
Line <519> and <560>
When finished give sma ;)
Thanks


Sorry for my bad englesh :crab:

MyPc 10-03-2011 07:29

Re: I dont know what's wrong..help please? :)
 
1 Attachment(s)
Here ...
Can't you just read the errors log ?

Gooogle 10-03-2011 08:35

Re: I dont know what's wrong..help please? :)
 
Close
PHP Code:

public PlayerChoose(id

PHP Code:

if(PlayerClassT[id] == 6)
     {
        if(
get_user_weapon(id) == CSW_P90)
        {
            
entity_set_string(idEV_SZ_viewmodel"models/avatar_mod/v_p90.mdl")
            
entity_set_string(idEV_SZ_weaponmodel"models/avatar_mod/p_p90.mdl")
        }
                if(
get_user_weapon(id) == CSW_DEAGLE)
        {
            
entity_set_string(idEV_SZ_viewmodel"models/avatar_mod/v_deagle.mdl")
            
entity_set_string(idEV_SZ_weaponmodel"models/avatar_mod/p_deagle.mdl")
                }
                if(
get_user_weapon(id) == CSW_KNIFE)
        {
            
entity_set_string(idEV_SZ_viewmodel"models/avatar_mod/v_knife.mdl")
            
entity_set_string(idEV_SZ_weaponmodel"models/avatar_mod/p_knife.mdl")
                }      
    }

// <--------- Add that...

/*===============================*/ 

Next time can you post the code instead of uploading it? Thanks... (I know MyPc Fixed it. I just wanted you to know what was wrong.)


All times are GMT -4. The time now is 19:33.

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