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

Pages (7): 1 2 3 4 5 … 7 Next »
 
Search Results
Post Author Forum Replies Views Posted [asc]
  Thread: How to get rid and replace the SERVER: Unknown command message?
Post: RE: How to get rid and replace the SERVER: Unknown...

At the end of the OnPlayerCommandText callback, after your command code reaches the state where no command is found, send your own error normally with SendClientMessage, then return 1
Markski Programming 1 11 2022-06-11, 10:56 PM
  Thread: samp voice frequency
Post: RE: samp voice frequency

new SV_GSTREAM:StreamFreq[MAX_RADIOS] = SV_NULL; I'm wondering if this is a correct way to initialize the value for all the slots in an array. This might have to do with your issue if not...
Markski Pawn Scripting 2 35 2022-06-11, 10:55 PM
  Thread: [Solved] Get Difference Between Time Period
Post: RE: Get Difference Between Time Period

Hours in a day are counted from 0, there's no hour 24... that's 00. That function should never be receiving 24 as an hour in a normal scenario
Markski Pawn Scripting 3 643 2021-05-18, 01:45 AM
  Thread: Problems with y_hooks
Post: RE: Problems with y_hooks

You can use DEFINE_HOOK_REPLACEMENT__ to create shorter keywords and get under the 31 character limit, as stated above. For example, setting the line DEFINE_HOOK_REPLACEMENT__(Checkpoint, CP ); som...
Markski Support 3 2,229 2021-02-01, 12:08 AM
  Thread: [Ayuda] 4 errores
Post: RE: [Ayuda] 4 errores

format(string,sizeof(string),"Pizzas: ~r~%d~w~ /~g~ 5",dMaletero[GetPlayerVehicleID](playerid)); deberia ser: format(string,sizeof(string),"Pizzas: ~r~%d~w~ /~g~ 5",dMaletero[GetPlayerVehicleID(...
Markski Programación 1 1,091 2021-01-30, 12:10 AM
  Thread: Gamemode does not compile using YSI includes
Post: RE: Gamemode does not compile using YSI includes

You must use the community compiler in order to use YSI5 https://github.com/pawn-lang/compiler/
Markski Support 3 1,644 2021-01-30, 12:09 AM
  Thread: Pawn - Intellij
Post: RE: Pawn - Intellij

I'm afraid there's no Pawn support packages for Intellij as far as I can see. However, be advised that with Sublime Text you'll have full Intellisense support and a general better experience when work...
Markski Programming 2 2,090 2021-01-22, 10:51 PM
  Thread: Best practice with timers
Post: RE: Best practice with timers

depends on what the code does, If it's very complex code then it should be on it's own timer. If it's dumb stuff like checking the state of variables and -- or ++'ng stuff every 1 second or whatever, ...
Markski Pawn Scripting 3 1,668 2021-01-22, 08:57 PM
  Thread: How to optimize this code
Post: RE: How to optimize this code

RhaegarX Wrote: (2021-01-21, 11:54 PM) -- Is there any place where I can find some explanation about the loop in the enum?  Because I would only loop the members' positions -- It's simply to loop th...
Markski Pawn Scripting 5 2,280 2021-01-22, 08:44 PM
  Thread: Colour Embedding Issue
Post: RE: Colour Embedding Issue

Weird. Try putting the colour embedding before the space and see if that "fixes" it
Markski Support 3 1,580 2021-01-22, 08:40 PM
  Thread: ¿Cómo configurar el retraso en Kick(playerid)?
Post: RE: ¿Cómo configurar el retraso en Kick(playerid)?

Con un timer. Code: -- stock KickEx(playerid) { SendClientMessage(playerid, 0xAA0000FF, "Has sido kickeado del servidor."); SetTimerEx("KickearJugador", 500, false, "i", playerid); } for...
Markski Spanish/Español 1 1,054 2021-01-21, 12:45 AM
  Thread: PAWN.CMD
Post: RE: PAWN.CMD

Sensillamente dice que no logra encontrar Pawn.CMD en la carpeta de include (que por lo que veo, ya esta ahi), fijate de tener el archivo .pwn que estas compilado en la carpeta pawno, no en gamemodes,...
Markski Programación 2 1,665 2021-01-21, 12:37 AM
  Thread: My code don't compiler
Post: RE: My code don't compiler

Consider trying the lattest community compiler: https://github.com/pawn-lang/compiler/releases/tag/v3.10.10 (replace the files with these) Radical Wrote: (2020-12-09, 09:43 PM) -- The recent codes...
Markski Support 3 2,060 2021-01-09, 02:14 AM
  Thread: Programación
Post: RE: Programación

Para lo de los colores de los tags simplemente se utiliza la funcion SetPlayerColor: https://open.mp/docs/scripting/functions/SetPlayerColor En cuanto a lo de los plugins y pawncmd no lo sabria dec...
Markski Programación 8 3,561 2020-12-27, 04:16 PM
  Thread: Error - compiler - functions may not return arrays of unknown size
Post: RE: Error - compiler - functions may not return ar...

Because the string you're giving it isn't the same size as the string you're receiving. They should both be the same size. Still, I suggest you read my whole post to understand why you don't need t...
Markski Pawn Scripting 3 1,792 2020-12-21, 07:28 PM
  Thread: Virtual worlds
Post: RE: Virtual worlds

There's a few key things to be kept in mind about virtual worlds: - They're used to put players in locations which are meant to be entirely separate. For example, the "main world" (by default 0) fr...
Markski Pawn Scripting 4 2,107 2020-12-21, 02:59 PM
  Thread: Error - compiler - functions may not return arrays of unknown size
Post: RE: Error - compiler - functions may not return ar...

There's a few things wrong here: - You're receiving a string without knowing it's size. The compiler complains because you're then trying to return this same string. The problem above can be solved ...
Markski Pawn Scripting 3 1,792 2020-12-21, 02:53 PM
  Thread: Checking aiming data real-time
Post: RE: Checking aiming data real-time

Eloctro Wrote: (2020-12-20, 08:05 PM) -- Code: -- new actorid = GetPlayerTargetActor(playerid); -- -- More or less. NPC's are considered players by the server. In order to get the ID of the NPC a...
Markski Pawn Scripting 7 3,362 2020-12-20, 10:18 PM
  Thread: GetPlayerPos and show in chat?
Post: RE: GetPlayerPos and show in chat?

Pinch Wrote: (2020-12-19, 06:59 PM) -- That's a terrible one at that, they should use va_SendClientMessage -- Why is that?
Markski Pawn Scripting 4 2,227 2020-12-19, 07:27 PM
  Thread: GetPlayerPos and show in chat?
Post: RE: GetPlayerPos and show in chat?

There is also an extended version of SendClientMessage which does receive parameters. Code: -- stock SendClientMessageEx(playerid, color, const str[], {Float,_}:...) { static args, start, ...
Markski Pawn Scripting 4 2,227 2020-12-19, 06:23 PM
Pages (7): 1 2 3 4 5 … 7 Next »
 

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