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

Pages (5): 1 2 3 4 5 Next »
Search Results
Post Author Forum Replies Views Posted [asc]
  Thread: Compile GM with VSCODE on Linux
Post: RE: Compile GM with VSCODE on Linux

See: https://github.com/pawn-lang/compiler/wiki/Const-Correctness Appearantly those warnings were disabled by -however/wherever you compiled before-.
Kwarde Support 21 1,982 2021-09-29, 07:22 PM
  Thread: How to compile a GM on linux?
Post: RE: How to compile a GM on linux?

Quote: -- How to compile a GM on linux? -- With pawncc like usually: https://github.com/pawn-lang/compiler/releases Quote: -- Is it possible to do on VSCODE? -- Yes Quote: -- is it possible t...
Kwarde Support 4 146 2021-09-22, 09:43 AM
  Thread: split pawn codes
Post: RE: split pawn codes

Well off course! And you absolutely should do that! You're also already doing it in fact when including includes.. Thus use #include to include different files. #include would attempt to include "PA...
Kwarde Programming 3 343 2021-07-28, 06:57 PM
  Thread: SRV Record
Post: RE: SRV Record

THIS POST SHOULD BE DELETED
Kwarde Support 3 1,372 2021-07-26, 06:36 PM
  Thread: Post Your Setup!
Post: RE: Post Your Setup!

Potassium Wrote: (2020-11-16, 12:01 PM) -- https://i.imgur.com/ERdD21l.png -- That is super duper cute tho UwU
Kwarde Chat 62 54,743 2021-07-22, 03:13 PM
  Thread: Failed To Start Server
Post: RE: Failed To Start Server

Snow Wrote: (2021-07-18, 06:07 PM) -- First things first, tell us what OS are you running the server on. If its a linux, make sure to use linux versions of plugins and also add .so after every plugin...
Kwarde Support 3 313 2021-07-18, 06:47 PM
  Thread: Keybinds
Post: RE: Keybinds

No 5char
Kwarde Pawn Scripting 1 262 2021-07-17, 07:40 AM
  Thread: how to get the last digit of a player's IP
Post: RE: how to get the last digit of a player's IP

You'll find sscanf being usefull in quite alot more situations. For starters, in commands. Assume you've the command "/warn". You'll want to specify a playerid (or username) and a reason: Code: -- C...
Kwarde Pawn Scripting 16 1,012 2021-07-16, 11:26 PM
  Thread: how to get the last digit of a player's IP
Post: RE: how to get the last digit of a player's IP

Quote: -- i simply removed the ip[] = "192.168.1.255" variable, and replaced it with the player's ip and now it works perfectly -- That was exactly what you should had done in the first place.. I'll ...
Kwarde Pawn Scripting 16 1,012 2021-07-16, 08:26 PM
  Thread: how to get the last digit of a player's IP
Post: RE: how to get the last digit of a player's IP

Both IP_LAN and IP_PUBLIC represent the "Player's IP's". IP_LAN from a player who connects through LAN, and IP_PUBLIC from someone who connects from a remote system. (Thus both IP_LAN and IP_PUBLIC re...
Kwarde Pawn Scripting 16 1,012 2021-07-16, 07:36 PM
  Thread: how to get the last digit of a player's IP
Post: RE: how to get the last digit of a player's IP

Then you are still doing something wrong. Code: -- #include #include main() { new IP_LAN[] = "192.168.1.69", IP_PUBLIC[] = "86.88.190.219", ip_lan_part[4], i...
Kwarde Pawn Scripting 16 1,012 2021-07-16, 07:14 PM
  Thread: how to get the last digit of a player's IP
Post: RE: how to get the last digit of a player's IP.

No idea how you treat VPN users. Since strfind() returns -1 (not found) or the position where the string you're looking for was found. Since the piece of code I sent checks if the returned value of s...
Kwarde Pawn Scripting 16 1,012 2021-07-16, 12:18 AM
  Thread: warning 239: literal array/string passed to a non-const parameter
Post: RE: warning 239: literal array/string passed to a ...

https://github.com/pawn-lang/sa-mp-fixes That include does (should do) the trick
Kwarde Pawn Scripting 2 262 2021-07-16, 12:08 AM
  Thread: The new sa-mp modification
Post: RE: The new sa-mp modification

Quote: -- are you one of the programmers? -- I am not. And well, we'll see what happens ;-)
Kwarde General Discussions 4 573 2021-07-16, 12:03 AM
  Thread: how to get the last digit of a player's IP
Post: RE: how to get the last digit of a player's IP.

sscanf = unformat. See this: https://github.com/Y-Less/sscanf for full documentation.
Kwarde Pawn Scripting 16 1,012 2021-07-15, 11:56 PM
  Thread: Failed To Start Server
Post: RE: Failed To Start Server

Plugin socket failed to load. These logs do not help in any way of telling why. Does it exist in your plugins folder? Does it require a specific visual runtime package you haven't installed? Is it com...
Kwarde Support 3 313 2021-07-15, 11:52 PM
  Thread: how to get the last digit of a player's IP
Post: RE: how to get the last digit of a player's IP.

I editted my post while you were replying. Check out the last code, that does what you want ;-) And indeed. The strfind() thing I posted would accept all IPs starting with "192.168.1" (I don't see ho...
Kwarde Pawn Scripting 16 1,012 2021-07-15, 11:37 PM
  Thread: how to get the last digit of a player's IP
Post: RE: how to get the last digit of a player's IP.

Easiest (and, afaik the best) way would be with sscanf: Code: -- new ip[] = "192.168.2.10"; ip_part1, ip_part2, ip_part3, ip_part4 ; sscanf(ip, "pdddd", ip_part1, ip_part2, ip_pa...
Kwarde Pawn Scripting 16 1,012 2021-07-15, 11:09 PM
  Thread: The new sa-mp modification
Post: RE: The new sa-mp modification

Open.MP is still in development, there aren't public servers for it yet. Quote: -- There should be updates for sa-mp -- Don't count on it. Kalcor already announced he lost interest some time befor...
Kwarde General Discussions 4 573 2021-07-13, 10:54 PM
  Thread: HELP! How to Get Status If The Vehicle go Flipped while destroyed?
Post: RE: HELP! How to Get Status If The Vehicle go Flip...

Not if nobody is in the vehicle; Quote: -- How can the vehicle flip itself -- Might be a language barrier but I assumed (thanks to that line) the vehicle would be unmanned, in which case you would ne...
Kwarde Pawn Scripting 4 348 2021-07-11, 08:54 AM
Pages (5): 1 2 3 4 5 Next »

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