|
|
#931 | |
|
Big Clucker
![]() ![]() Join Date: Jul 2010
Location: Lithuania
Posts: 180
Reputation: -4
|
Quote:
|
|
|
|
|
|
|
#932 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Feb 2009
Posts: 628
Reputation: 35
|
|
|
|
|
|
|
#933 | ||
|
Huge Clucker
![]() ![]() ![]() Join Date: Sep 2009
Location: USA
Posts: 237
Reputation: 38
|
Quote:
Quote:
|
||
|
|
|
|
|
#934 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,274
Reputation: 1901
|
Oh, OK sorry. Those bugs are on my list of things to sort out, but as you said they're not high priority because sscanf still works.
|
|
|
|
|
|
#935 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Sep 2009
Location: USA
Posts: 237
Reputation: 38
|
|
|
|
|
|
|
#936 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Feb 2008
Posts: 241
Reputation: 0
|
|
|
|
|
|
|
#937 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,274
Reputation: 1901
|
That is just hard to do, both enums and arrays take a lot of code (check the source - they each have separate files).
And of course sscanf is open source for this reason - if you want something, add it! |
|
|
|
|
|
#938 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: Hong Kong, China
Posts: 1,667
Reputation: 123
|
Hey Y_Less, I've a suggestion about the escaping symbol(backslash).
I think such kind of symbols in the string will affect the ordinal use. For example, someone wants to type a command like "/pm 0 /_\" as I said, while some will want to send a string with spaces like "/buycar Streak\ Trailer 1 1". I hope the escaping function will be changed as one of the parameters. Let's say the new parameter is "x", and its usage is: pawn Code:
However players cannot do things like "/buycar Streak\ Trailer 1 1" again as the function goes server side. Another method. I guess if a new string parameter can be added such that it will not recognise the backslash function. Again, let's say "x" is the new parameter and it usage is: pawn Code:
Here "string" will be "Hello world !" while "string2" is "Hello\","string3" is "world\" and "string4" is "!". Adding such parameters will solve the backslash problem I think. |
|
|
|
|
|
#939 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,274
Reputation: 1901
|
If you want a backslash use "\\" like in PAWN and many other languages.
|
|
|
|
|
|
#940 | |
|
Huge Clucker
![]() ![]() ![]() Join Date: Feb 2008
Posts: 241
Reputation: 0
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macros (?) for enums/arrays | MP2 | Scripting Help | 16 | 17/01/2012 07:37 PM |
| Enums - string arrays | SuperViper | Scripting Help | 3 | 31/10/2011 10:00 AM |
| Arrays and enums... | [MWR]Blood | Scripting Help | 9 | 23/09/2011 11:29 AM |
| Enums and Arrays | Th3Angel | Help Archive | 6 | 14/02/2011 11:46 PM |