AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Save ids in blockmaker (https://forums.alliedmods.net/showthread.php?t=92003)

zacky 05-08-2009 16:33

Save ids in blockmaker
 
Hi, in blockmaker, there is save ids for the blocks, and im running out of save ids now, so i wanted to see if you know how to do this:

First heres save ids:
PHP Code:

// save IDs
new const gBlockSaveIds[gBlockMax] =
{
    
'A''B''C''D''I''J''G''H''E''F''K''M''N''P''Q''R''S''T''U''V''Y''Z''1''2''3''4''5''6''7''8''9''0''W''O''L''X'
}; 

And i want to make so you can add save ids like 10, 11, 12, but it doesnt work to use 2 characters :S

if you know how to fix this, please help me then.
+karma for help ^^

minimiller 05-08-2009 16:57

Re: Save ids in blockmaker
 
i think u can also use = + _ - @ &

zacky 05-08-2009 17:00

Re: Save ids in blockmaker
 
Quote:

Originally Posted by minimiller (Post 823767)
i think u can also use = + _ - @ &

I know, but some of those symbols doesnt work, so then the save function wont work :S that why i want like this.

SnoW 05-09-2009 05:09

Re: Save ids in blockmaker
 
I remember testing almost all chars and they were working, some examples: !"#+-@£$€¤%&/\()=?`[]}{^*:;,><
Obviously ' should be the only one that wouldn't be working.

zacky 05-09-2009 06:10

Re: Save ids in blockmaker
 
Quote:

Originally Posted by SnoW (Post 824015)
I remember testing almost all chars and they were working, some examples: !"#+-@£$€¤%&/\()=?`[]}{^*:;,><
Obviously ' should be the only one that wouldn't be working.

Ok thanks :D

Exolent[jNr] 05-09-2009 12:57

Re: Save ids in blockmaker
 
Quote:

Originally Posted by SnoW (Post 824015)
Obviously ' should be the only one that wouldn't be working.

Yes it does. You just have to use the ctrlchar.
'^'' <-- wouldn't work inside [php] tags. I used 2 and it only showed 1 after. I used 3 and it showed all 3. :grrr:
It works the same as a quote.
PHP Code:

"not in quotes; ^"in quotes^"" 



All times are GMT -4. The time now is 01:29.

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