Raised This Month: $51 Target: $400
 12% 

SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011


Post New Thread Reply   
 
Thread Tools Display Modes
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 08-17-2015 , 08:26   Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Reply With Quote #421

Quote:
Originally Posted by ZASTRELIS View Post
Try this for default values
Code:
Client_GiveWeaponAndAmmo(client, "weapon_deagle", false, -1, 7, -1, 35);
or this for test
Code:
Client_GiveWeaponAndAmmo(client, "weapon_deagle", false, -1, 1, -1, 7);

p.s. i think u don't fully understand how it works..
Both of those give me a full deagle.

PHP Code:
public OnPluginStart() 
{
    
RegAdminCmd("sm_givedeagle"GiveWeaponADMFLAG_GENERIC);
    
RegAdminCmd("sm_givedeagletest"GiveWeaponTestADMFLAG_GENERIC);
}    

public 
Action:GiveWeapon(clientargs)
{
    
Client_GiveWeaponAndAmmo(client"weapon_deagle"false, -17, -135);
}

public 
Action:GiveWeaponTest(clientargs)
{
    
Client_GiveWeaponAndAmmo(client"weapon_deagle"false, -11, -17);    

p.s. i'm sure I don't..
Addicted. is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 08-18-2015 , 07:19   Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Reply With Quote #422

maibe it's offset problem.. I don't know too =)
ZASTRELIS is offline
Prof. Orribilus
Member
Join Date: Jun 2013
Location: Italy
Old 08-22-2015 , 08:50   Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Reply With Quote #423

I spot the following compile errors:
Code:
smlib/entities.inc(33) : error 138: const was specified twice
smlib/crypt.inc(426) : error 173: 'in' is a newly reserved keyword that may be used in the future; use a different name as an identifier
smlib/effects.inc(158) : warning 237: coercing functions to and from primitives is unsupported and will be removed in the future
Thanks for your work



Update:
Never mind, i have downloaded the updated version from GitHub.
__________________


Last edited by Prof. Orribilus; 08-25-2015 at 09:59.
Prof. Orribilus is offline
Prof. Orribilus
Member
Join Date: Jun 2013
Location: Italy
Old 08-30-2015 , 04:26   Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Reply With Quote #424

The website is not accessible.
__________________

Prof. Orribilus is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 08-30-2015 , 16:26   Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Reply With Quote #425

Quote:
Originally Posted by Prof. Orribilus View Post
Update:
Never mind, i have downloaded the updated version from GitHub.
https://github.com/bcserv/smlib If someone needs the link
__________________
zipcore is offline
Transit Of Venus
Senior Member
Join Date: May 2014
Location: Australia
Old 09-03-2015 , 02:56   Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Reply With Quote #426

And the Images broke...
__________________

Click on the banner to explore my servers and more
Transit Of Venus is offline
Send a message via ICQ to Transit Of Venus Send a message via Skype™ to Transit Of Venus
Chanz
Veteran Member
Join Date: Aug 2008
Location: Germany - Stuttgart
Old 09-11-2015 , 18:38   Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Reply With Quote #427

A little late to let you know, but we are working on the certificate error.

Try https://sourcemodplugins.org/smlib/ without the www and you can skip the warning (at least in FireFox).
__________________
[ SourceModPlugins.org ][ My Plugins ]

Thank you for donations: [ Paypal ]

Video Tutorial (German): [ Gameserver & SourceMod Plugins mit HLSW verwalten ]
Chanz is offline
Prof. Orribilus
Member
Join Date: Jun 2013
Location: Italy
Old 09-12-2015 , 08:37   Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Reply With Quote #428

Ok, thanks.
__________________

Prof. Orribilus is offline
Remy Lebeau
Senior Member
Join Date: Dec 2009
Location: Sydney, Australia
Old 09-22-2015 , 01:33   Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Reply With Quote #429

Anyone have any ideas as to why since I've updated my SM installation, attempting to compile any plugin that uses smlib is giving me a bunch of errors?

eg:

Code:
SourcePawn Compiler 1.7.3-dev+5255
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

c:\Development\War3Source\scripting\include\smlib/entities.inc(33) : error 138: const was specified twice
c:\Development\War3Source\scripting\include\smlib/colors.inc(154) : error 157: 'char' is a reserved keyword
c:\Development\War3Source\scripting\include\smlib/colors.inc(157) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(162) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(176) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(179) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(184) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(187) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(191) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(154) : warning 204: symbol is assigned a value that is never used: "char"
c:\Development\War3Source\scripting\include\smlib/colors.inc(239) : error 157: 'char' is a reserved keyword
c:\Development\War3Source\scripting\include\smlib/colors.inc(241) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(242) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(239) : warning 204: symbol is assigned a value that is never used: "char"
c:\Development\War3Source\scripting\include\smlib/crypt.inc(426) : error 173: 'in' is a newly reserved keyword that may be used in the future; use a different name as an identifier
c:\Development\War3Source\scripting\include\smlib/effects.inc(158) : warning 237: coercing functions to and from primitives is unsupported and will be removed in the future
Code:
SourcePawn Compiler 1.7.3-dev+5255
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

c:\Development\War3Source\scripting\include\smlib/entities.inc(33) : error 138: const was specified twice
c:\Development\War3Source\scripting\include\smlib/crypt.inc(426) : error 173: 'in' is a newly reserved keyword that may be used in the future; use a different name as an identifier
c:\Development\War3Source\scripting\include\smlib/effects.inc(158) : warning 237: coercing functions to and from primitives is unsupported and will be removed in the future

Last edited by Remy Lebeau; 09-22-2015 at 01:35.
Remy Lebeau is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 09-22-2015 , 01:38   Re: SMLIB 0.11 BETA (over 300 Function Stocks) | updated 15.07.2011
Reply With Quote #430

Quote:
Originally Posted by Remy Lebeau View Post
Anyone have any ideas as to why since I've updated my SM installation, attempting to compile any plugin that uses smlib is giving me a bunch of errors?

eg:

Code:
SourcePawn Compiler 1.7.3-dev+5255
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

c:\Development\War3Source\scripting\include\smlib/entities.inc(33) : error 138: const was specified twice
c:\Development\War3Source\scripting\include\smlib/colors.inc(154) : error 157: 'char' is a reserved keyword
c:\Development\War3Source\scripting\include\smlib/colors.inc(157) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(162) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(176) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(179) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(184) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(187) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(191) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(154) : warning 204: symbol is assigned a value that is never used: "char"
c:\Development\War3Source\scripting\include\smlib/colors.inc(239) : error 157: 'char' is a reserved keyword
c:\Development\War3Source\scripting\include\smlib/colors.inc(241) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(242) : error 029: invalid expression, assumed zero
c:\Development\War3Source\scripting\include\smlib/colors.inc(239) : warning 204: symbol is assigned a value that is never used: "char"
c:\Development\War3Source\scripting\include\smlib/crypt.inc(426) : error 173: 'in' is a newly reserved keyword that may be used in the future; use a different name as an identifier
c:\Development\War3Source\scripting\include\smlib/effects.inc(158) : warning 237: coercing functions to and from primitives is unsupported and will be removed in the future
Code:
SourcePawn Compiler 1.7.3-dev+5255
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

c:\Development\War3Source\scripting\include\smlib/entities.inc(33) : error 138: const was specified twice
c:\Development\War3Source\scripting\include\smlib/crypt.inc(426) : error 173: 'in' is a newly reserved keyword that may be used in the future; use a different name as an identifier
c:\Development\War3Source\scripting\include\smlib/effects.inc(158) : warning 237: coercing functions to and from primitives is unsupported and will be removed in the future
read the errors... It tells you why.
There was a lot of changes from 1.6 to 1.7 that reserved words and other things as well.
__________________

Last edited by versatile_bfg; 09-22-2015 at 01:39.
versatile_bfg 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 12:31.


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