sourcepawn icon indicating copy to clipboard operation
sourcepawn copied to clipboard

A small, statically typed scripting language.

Results 118 sourcepawn issues
Sort by recently updated
recently updated
newest added

Tested on Safari on iOS 11.2.1 - left sidebar does not display, making site unusable since you cannot search nor browse. Screenshot: ![](https://i.imgur.com/nOWKf1E.png)

bug
docgen

``` #pragma semicolon 1 #include /* native bool:GetTrieString(Handle:map, const String:key[], String:value[], max_size, &size=0) */ public OnPluginStart() { PrintToServer("%b", GetTrieString(INVALID_HANDLE, "pickles", "", 0)); } /* Your plugin successfully compiled! Use the...

bug

Currently the following throws a compiler error: ```sourcepawn methodmap Foo < StringMap {}; Foo foo = new Foo(); // error 172: methodmap 'Foo' does not have a constructor ``` Is...

question

having this feature, especially for specific Handle types, would be a nice feature. I figured it would require 2 kinds `[]=` for setting and `[]` for simple getting. The general...

enhancement

I haven't narrowed down the difference between which ones display fine and which ones have the issue, but for some typeset parameters of functions, the typeset definition is displayed as...

bug
docgen

'ello m8s, I would like to put an official request for typedefing to extend to variables. I know that using "enum" with a name can technically do this by implicitly...

enhancement

The code in question: ``` public void OnPluginStart() { PrintToServer("String from function: \"%s\"", true ? GetString() : ""); } char[] GetString() { char buff[8] = "teststr"; return buff; } ```...

The following code causing warning: ``` void SampleTranslation(int client = LANG_SERVER) { #pragma unused client PrintToChatAll("Hello World"); } ``` ``` warning 217: inconsistent indentation (did you mix tabs and spaces?)...

No warning or error is emitted when a function's return type does not match the return type of a typedef/typeset. Tested on spcomp 1.11.0.6911: ```sourcepawn typedef MyThing = function void...

This continues last year what I've posted here, finally, I got some time to dig out what happened. If a method only have setter but does not have getter, but...