Raised This Month: $138 Target: $400
 34% 

Scripting Forum


Post New Thread Reply   
 
Thread Tools Display Modes
mehelp
Junior Member
Join Date: Jul 2011
Old 07-23-2011 , 23:22   Re: Scripting Forum
Reply With Quote #31

berni shared tis
PHP Code:
stock FormatNumberInt(valueString:buffer[], sizeseperator=',')
{
    
decl String:helper[size];
    
IntToString(valuehelpersize);
    
strcopy(buffersizehelper);

    new 
length strlen(helper);

    new 
n_helper;

    if (
helper[0] == '-') {
        
n_helper += ((length-1) % 3) + 1;

        if (
n_helper == 1) {
            
n_helper 4;
        }
    }
    else {
        
n_helper += length 3;

        if (
n_helper == 0) {
            
n_helper 3;
        }
    }

    new 
n_buffer n_helper;

    while (
n_helper length) {
        
buffer[n_buffer] = seperator;
        
strcopy(buffer[n_buffer 1], sizehelper[n_helper]);

        
n_buffer += 4;
        
n_helper += 3;
    }

mehelp is offline
FaTony
BANNED
Join Date: Aug 2008
Old 10-12-2012 , 18:35   Re: Scripting Forum
Reply With Quote #32

Quote:
Originally Posted by BAILOPAN View Post
For more information about the SourcePawn language, please see: http://www.sourcemod.net/sdk.php
Broken link.
FaTony is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-16-2012 , 09:10   Re: Scripting Forum
Reply With Quote #33

Quote:
Originally Posted by FaTony View Post
Broken link.
I assume the link is supposed to be to http://docs.sourcemod.net/api/
__________________
Am I back? Well, we'll see.
Powerlord is offline
Cerium
Member
Join Date: Dec 2013
Old 01-01-2014 , 04:38   Re: Scripting Forum
Reply With Quote #34

Is there a official IRC channel for alliedmods?
__________________
Cerium is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-01-2014 , 14:51   Re: Scripting Forum
Reply With Quote #35

Quote:
Originally Posted by Cerium View Post
Is there a official IRC channel for alliedmods?
Yes
__________________
Am I back? Well, we'll see.
Powerlord is offline
Koga73
Senior Member
Join Date: Mar 2011
Location: 🍩
Old 03-20-2014 , 18:47   Re: Scripting Forum
Reply With Quote #36

/ Edit. ~Removed.

Last edited by Koga73; 03-20-2014 at 20:05.
Koga73 is offline
kar731
Member
Join Date: Mar 2016
Old 03-29-2016 , 21:35   Re: Scripting Forum
Reply With Quote #37

Hi, I'm new to making plugins for CS:GO and I was wondering how I can block footstep noises for people inside of an array? I already have the people in the array, I just can't figure out how to block their footstep noises.
kar731 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-30-2016 , 01:00   Re: Scripting Forum
Reply With Quote #38

Quote:
Originally Posted by kar731 View Post
Hi, I'm new to making plugins for CS:GO and I was wondering how I can block footstep noises for people inside of an array? I already have the people in the array, I just can't figure out how to block their footstep noises.
Try using the search function.
__________________
Mitchell is offline
sastdk
Junior Member
Join Date: Apr 2019
Old 04-13-2019 , 09:14   Re: Scripting Forum
Reply With Quote #39

Hello guys, i know is a probably stupid question, but can you tell me how i can set a maximum health for a vip?
I am a begginer and I kinda wanna to learn, thanks.
Attached Files
File Type: sp Get Plugin or Get Source (hexvips.sp - 25 views - 18.8 KB)
sastdk is offline
Reply


Thread Tools
Display Modes

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 03:14.


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