Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot Search Results

Search Results
Post Author Forum Replies Views Posted [asc]
  Thread: How to call a function an address?
Post: RE: How to call a function an address?

oukibt Wrote: (2021-07-06, 09:36 PM) -- Hi I am trying to call a function at an address from a plugin but I am getting a crash. Code: -- PLUGIN_EXPORT int PLUGIN_CALL AmxLoad(AMX* amx) {     ...
SimoSbara Programming 1 351 2021-07-14, 08:53 PM
  Thread: What languages are you learning?
Post: RE: What languages are you learning?

The language is not important, imperative languages are very similar to each other and if you learn one you can use the others (of course there are some differences in some languages syntax logic but ...
SimoSbara Programming 36 29,593 2019-12-30, 01:24 PM
  Thread: Ban system by Hardware ID/Serial
Post: RE: Ban system by Hardware ID/Serial

Banning by MAC address or other hardware information it isn't possible on SAMP. However you can ban by the GPCI that is derived from the installation path of GTA SA. I was thinking that maybe it is po...
SimoSbara Questions and Suggestions 31 32,839 2019-06-08, 07:59 PM
  Thread: ci siamo
Post: RE: ci siamo

avete vinto voi
SimoSbara Italian/Italiano 26 20,964 2019-04-16, 09:36 PM
  Thread: Skipping extra spaces
Post: RE: Skipping extra spaces

Y_Less Wrote: (2019-04-16, 03:08 PM) -- Oh, we're playing code golf now are we :) PHP Code: -- RemoveDoubleSpace(string[], i = 0) { while ((i = strfind(string, "  ", _, i)) != -1) strdel(str...
SimoSbara Pawn Scripting 23 18,627 2019-04-16, 05:49 PM
  Thread: Skipping extra spaces
Post: RE: Skipping extra spaces

I'll read the code of these functions next time xd
SimoSbara Pawn Scripting 23 18,627 2019-04-16, 01:39 PM
  Thread: Skipping extra spaces
Post: RE: Skipping extra spaces

About the end of the sentence is a little complex, but it is possibile. When I'll get back home, I'll write the condition for the spaces at the end of the sentence.
SimoSbara Pawn Scripting 23 18,627 2019-04-16, 10:50 AM
  Thread: Skipping extra spaces
Post: RE: Skipping extra spaces

Anyways, I think the only problem with those algorithm is the space at the end of the sentence
SimoSbara Pawn Scripting 23 18,627 2019-04-16, 08:51 AM
  Thread: Skipping extra spaces
Post: RE: Skipping extra spaces

I think the strdel function does the same that you did.
SimoSbara Pawn Scripting 23 18,627 2019-04-16, 05:52 AM
  Thread: Skipping extra spaces
Post: RE: Skipping extra spaces

So, your idea is to shift the sentece backwards and leaving the space on the "right"
SimoSbara Pawn Scripting 23 18,627 2019-04-15, 11:48 PM
  Thread: Skipping extra spaces
Post: RE: Skipping extra spaces

I think he meant to make an algorithm that removes extra spaces in sentences like: "This . . senteces has too . many spaces" --> "This senteces has too many spaces" (a period rappresent a space)
SimoSbara Pawn Scripting 23 18,627 2019-04-15, 09:23 PM
  Thread: Skipping extra spaces
Post: RE: Skipping extra spaces

I optimized a bit this code: Code: -- for(new i = strlen(text); i >= 0; --i) { if(text[i] == ' ') if(text[i-1] == ' ' || i == 0) strdel(text, i-1, i); } -- The syntax is correc...
SimoSbara Pawn Scripting 23 18,627 2019-04-15, 09:01 PM
  Thread: qualcuno mi spiega la differenza tra samp e open.mp
Post: RE: qualcuno mi spiega la differenza tra samp e op...

allora non creano retrocompatibilità ma diciamo una cosa unificata per con le funzioni della 0.3.7 + DL
SimoSbara Italian/Italiano 11 9,540 2019-04-15, 05:26 PM
  Thread: qualcuno mi spiega la differenza tra samp e open.mp
Post: RE: qualcuno mi spiega la differenza tra samp e op...

quindi un server dopo questo progetto, che parta con il server OPENMP o con SAMP è la stessa cosa, giusto? E comunque questa retrocompatibilità comprenderà la 0.3.7/dl alla openmp o anche versioni pre...
SimoSbara Italian/Italiano 11 9,540 2019-04-15, 04:20 PM

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald