Raised This Month: $ Target: $400
 0% 

[SOLVED] thanks


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 11-05-2011 , 14:43   [SOLVED] thanks
Reply With Quote #1

Solved +karma
__________________

Check out My Plugins:
qServerInfo ; ASKTAG

Last edited by quark; 11-06-2011 at 11:51.
quark is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-05-2011 , 14:55   Re: [HELP] Plugin Code
Reply With Quote #2

if(cs_get_user_team(id) == CS_TEAM_T) {
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 11-05-2011 , 14:57   Re: [HELP] Plugin Code
Reply With Quote #3

1- undefined symbol id -.-
2- already tried
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 11-05-2011 , 14:59   Re: [HELP] Plugin Code
Reply With Quote #4

new id = read_data(2) in the start of function if this is only for victims

Last edited by m0skVi4a; 11-05-2011 at 14:59.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 11-05-2011 , 16:14   Re: [HELP] Plugin Code
Reply With Quote #5

Quote:
Originally Posted by m0skVi4a View Post
new id = read_data(2) in the start of function if this is only for victims
PHP Code:
if( get_user_team(id) == CS_TEAM_T )
        {
        
        
/* --| Setting killer points when killed a enemy */
        
gKillerPointskiller ] += get_pcvar_numgKillerPointsCvar );
        {
            return 
PLUGIN_HANDLED;
        } 
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Undefined symbol "load_client_points" on line 220
Error: Undefined symbol "save_client_points" on line 245
Error: Undefined symbol "allready_have" on line 352
Error: Undefined symbol "dont_have" on line 359
Error: Undefined symbol "client_printc" on line 366
Error: Undefined symbol "allready_have" on line 380
Error: Undefined symbol "dont_have" on line 387
Error: Undefined symbol "client_printc" on line 396
Error: Undefined symbol "allready_have" on line 410
Error: Undefined symbol "dont_have" on line 417
Error: Undefined symbol "client_printc" on line 424
Error: Undefined symbol "allready_have" on line 438
Error: Undefined symbol "dont_have" on line 445
Error: Undefined symbol "client_printc" on line 452
Error: Undefined symbol "allready_have" on line 466
Error: Undefined symbol "dont_have" on line 473
Error: Undefined symbol "client_printc" on line 480
Error: Undefined symbol "allready_have" on line 494
Error: Undefined symbol "dont_have" on line 501
Error: Undefined symbol "client_printc" on line 508
Error: Undefined symbol "allready_have" on line 522
Error: Undefined symbol "dont_have" on line 529
Error: Undefined symbol "client_printc" on line 536
Error: Undefined symbol "allready_have" on line 550
Error: Undefined symbol "dont_have" on line 557
Error: Undefined symbol "client_printc" on line 564

Compilation aborted.
26 Errors.
Could not locate output file C:\Users\Alcino\Desktop\Deathrun_Shop.amx (compile failed).
__________________

Check out My Plugins:
qServerInfo ; ASKTAG

Last edited by quark; 11-05-2011 at 16:15.
quark is offline
plowed
Senior Member
Join Date: Oct 2010
Location: germany
Old 11-05-2011 , 16:28   Re: [HELP] Plugin Code
Reply With Quote #6

PHP Code:
        gKillerPointskiller ] += get_pcvar_numgKillerPointsCvar );
        {
            return 
PLUGIN_HANDLED;
        } 
That makes no sense

PHP Code:
get_user_team(id) == CS_TEAM_T 
wouldnt work, because you declared the variable killer and victim with an player index and not id.
__________________
Zombie Mod + gameMe stats :

Last edited by plowed; 11-05-2011 at 17:12.
plowed is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 11-05-2011 , 16:30   Re: [HELP] Plugin Code
Reply With Quote #7

Can u fix ?
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
plowed
Senior Member
Join Date: Oct 2010
Location: germany
Old 11-05-2011 , 17:15   Re: [HELP] Plugin Code
Reply With Quote #8

This is Scripting help and even with a low knowledge of coding you could fix it yourself.
The errors in your last post arent related with your thread question, too.

At least show the full code..
__________________
Zombie Mod + gameMe stats :

Last edited by plowed; 11-05-2011 at 17:17.
plowed is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 11-05-2011 , 17:36   Re: [HELP] Plugin Code
Reply With Quote #9

thanks! Solved, you are the best .
__________________

Check out My Plugins:
qServerInfo ; ASKTAG

Last edited by quark; 11-06-2011 at 11:53.
quark is offline
plowed
Senior Member
Join Date: Oct 2010
Location: germany
Old 11-05-2011 , 18:06   Re: [HELP] Plugin Code
Reply With Quote #10

try it
Attached Files
File Type: sma Get Plugin or Get Source (drshop.sma - 540 views - 39.1 KB)
__________________
Zombie Mod + gameMe stats :

Last edited by plowed; 11-05-2011 at 19:54.
plowed 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 14:24.


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