AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Scripting Forum (https://forums.alliedmods.net/showthread.php?t=52664)

mehelp 07-23-2011 23:22

Re: Scripting Forum
 
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;
    }



FaTony 10-12-2012 18:35

Re: Scripting Forum
 
Quote:

Originally Posted by BAILOPAN (Post 453313)
For more information about the SourcePawn language, please see: http://www.sourcemod.net/sdk.php

Broken link.

Powerlord 10-16-2012 09:10

Re: Scripting Forum
 
Quote:

Originally Posted by FaTony (Post 1817618)
Broken link.

I assume the link is supposed to be to http://docs.sourcemod.net/api/

Cerium 01-01-2014 04:38

Re: Scripting Forum
 
Is there a official IRC channel for alliedmods?

Powerlord 01-01-2014 14:51

Re: Scripting Forum
 
Quote:

Originally Posted by Cerium (Post 2079277)
Is there a official IRC channel for alliedmods?

Yes

Koga73 03-20-2014 18:47

Re: Scripting Forum
 
/ Edit. ~Removed.

kar731 03-29-2016 21:35

Re: Scripting Forum
 
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.

Mitchell 03-30-2016 01:00

Re: Scripting Forum
 
Quote:

Originally Posted by kar731 (Post 2406787)
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.

sastdk 04-13-2019 09:14

Re: Scripting Forum
 
1 Attachment(s)
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.


All times are GMT -4. The time now is 00:10.

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