Search Results
Plugin works great However how does one replace text with nothing Code: new Regex:r = Regex_New("Test "); Regex_Replace("My Test Text", r, "", str); Without getting the error Code: [Pawn.Regex] Pl...
4,391
Good Afternoon. I'm having a bit of trouble with the server crashing when i try to use a regex_replace Код: [19:04:43] [debug] Server crashed while executing Debug.amx [19:04:43] [debug] AMX back...
5,121
Oh awesome. Didn't even think to search for a regex plugin. Gosh it's an oldy too haha. I'll do some experimenting later with the Код: { one { two three } Cheers *****!! Also when did you get ...
63
Hey all, I'm looking for the best way to remove any text in between a { and }, assuming they both exist. For example Код: STRING: {FFFFFF}My String {00FF00}Here RETURNS: My String Here AND STRI...
63
Can you have two or more enums with the same const name without any unwanted effects? or Would it be better to prefix them with something? example: Код: enum e_MyEnum { e_First, e_Test } ...
113
Firstly, install SSCANF if its not already in use it makes life a lot easier for sorting strings out. https://sampforum.blast.hk/showthread.php?tid=570927 Secondly use the code i have supplied (It sh...
181
Quote: Originally Posted by Dice_ Код: PlayerPlaySound(giveplayer,1057,0.0,0.0,0.0); PlayerPlaySound(giveplayer,1097,0.0,0.0,0.0); I'm on my phone. "giveplayer" i...
181
Can you give us the whole command please
181
Hey everyone, I'm currently looking for the best file reader include or plugin to read from a file that can be easily edited with a text editor or program. I will be using it to load multiple object...
55
EDIT: When a gangzone is hidden for player using GangZoneHideForPlayer it should also call OnPlayerLeaveGangZone if the player is still in it at the time. //OLD Код: When hooking OnPlayerDialogRe...
49,786
Does anyone still have the 3.1 of YSI. I can only find version 4 and up. Y_Classes doesnt work at all on version 4. but it did in version 3.1
1,451
Hey guys, Wanting to start a new script but want to use YSI groups and classes for class select. along with commands and a whole bunch more YSI features. Currently Classes and Groups dont work in v...
66
That's what I thought. I'll just make a function to do the same thing. Код: Stock func(Id) { Switch(Id) { Case 0: return floatround(var1 * var3); Case 1: return floatroun...
98
What I'm trying to do is add the following Код: #define var1 1000 #define var2 2000 #define var3 0.5 new test[] = { floatround(var1 * var3), floatround(var2 * var3) }; I want to be able ...
98
Hey guys, Just wondering if its possible to make a textdraw auto wrap (Goto the next line) when it gets to the limits of the box(When enabled). Had a quick search but couldn't find anything. My pro...
52
Quote: Originally Posted by Amunra PHP код: new Skinid = GetPlayerSkin(playerid); public OnPlayerRequestSpawn(playerid) {     printf("asdasd %i", Skinid);     returnÂ...
96
Hey guys, Problem - When using GetPlayerSkin under OnPlayerRequestSpawn it will only return 0. Reason - I was using the fixes include, which has a fix for GetPlayerSkin I read through the script and...
96
Hey all, dBinds V0.1 What is dBinds? - This is just a real quick script for players to be able to bind a key to a command or something to say. Wil - I intend to make the script a lot neater and bett...
387
Quote: Originally Posted by ****** 1) y_classes doesn't work in 4.0. I figured after playing a little bit with your includes. I have reverted to using YSI 3.1 Quote: Origina...
108
I've got version 3.1 . But when i try use OnPlayerRequestClassEx i got Код: warning 235: public function lacks forward declaration (symbol "OnPlayerRequestClassEx") so i used pawn Код: for...
108