Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,054
» Latest member: adrianosilvaborges428
» Forum threads: 2,355
» Forum posts: 12,245

Full Statistics

Online Users
There are currently 197 online users.
» 0 Member(s) | 195 Guest(s)
Bing, Google

Latest Threads
Plan C: Protect The Presi...
Forum: Advertisements
Last Post: PipPo
6 hours ago
» Replies: 0
» Views: 16
CODE5 GAMING COPS AND ROB...
Forum: Advertisements
Last Post: ryanthiago789
Yesterday, 03:02 AM
» Replies: 0
» Views: 27
SAMP RP project in 2024? ...
Forum: General Discussions
Last Post: tommchris
Yesterday, 02:05 AM
» Replies: 4
» Views: 2,461
Infekcja 2: Zombie Surviv...
Forum: Serwery
Last Post: tunnelrushgame3d
Yesterday, 01:50 AM
» Replies: 1
» Views: 190
FPS issues
Forum: General Discussions
Last Post: kourtneyroberts
2025-04-28, 04:53 AM
» Replies: 0
» Views: 20
How to make your GTA SA:M...
Forum: Tutorials
Last Post: NoxxeR
2025-04-27, 11:26 AM
» Replies: 1
» Views: 77
Problem about pawnbot
Forum: Pawn Scripting
Last Post: balkanspeed18
2025-04-26, 02:04 PM
» Replies: 0
» Views: 39
Error
Forum: Pawn Scripting
Last Post: -N0FeaR-
2025-04-25, 12:05 PM
» Replies: 0
» Views: 40
GTA Multigames [ MultiMod...
Forum: Advertisements
Last Post: Undead
2025-04-25, 07:37 AM
» Replies: 0
» Views: 50
Atlanta DeathMatch
Forum: Advertisements
Last Post: NixaSha
2025-04-25, 01:19 AM
» Replies: 0
» Views: 45

 
  Blake Island
Posted by: helion_prime - 2021-03-16, 10:54 PM - Forum: Maps - Replies (1)

BLAKE ISLAND v1.1

by HeLiOn PrImE


[Image: e596Fbe.jpg][Image: n5C0EKc.jpg]

Please give a fair rate, after you check the map in game!









ATTENTION:

Objects were retextured for this map.

The banner only represents the island's shape from above and size.

Before you rate this map, make sure you successfully load it and explore it!

Location:

South of Whetstone, in the middle of the ocean.



Contents:
  • large forest areas

  • a mountain

  • beach

  • warehouses

  • shipwrecks

  • ruins

  • ghost town

  • airport

  • cabins.


Overview:

This is basically my first project made entirely from scratch. The making of this map very much consisted of me switching between 3 mapping tools and constantly converting everything I made.

The image above shows the island without the textures. In game you will notice that all the areas are green. It's not perfect, but if some of you can do a better job, let me know and be my guest!

This Island has 1/3 the surface of Los Santos and it's consisted of 707 objects. It's pretty big and has I designed it for manhunt/survival events.

Scripting such an event over this map is my next step, but I really am curious of what you guys can come up with.

I advise, using foggy weather and setting a low streaming/draw distance. Plus, if you're gonna throw players in those conditions, you should hide their name tags to make them invisible on the map.

Hiding and planing ambushes will be easier and more fun.

Below you have a set of pictures and a download link.





Install steps:
  • place streamer.dll or streamer.so in the plugins folder

  • add "plugins streamer.so" (or streamer.dll) in your server.cfg

  • place the script in the filterscripts folder

  • add "BlakeIsland" on the filterscripts line in server.cfg

  • run the server


Update Notes:
  • Added a ghost town south-west of the main island.

  • Added an abandoned airfield north west of the main island.

  • Added more trees, so the forests are a bit larger.

  • Added one more lighthouse north of the main island.

  • Added bridges that connect all the island areas.

  • Added a cabin in the northern forest.

  • Remade all the textures. All the island parts now fit nicely into each-other

  • Blake Island now has 707 objects and it's 1/3 the size of Los Santos.




Note:

This map is coded for the use with Incognito's Streamer Plugin.

The draw/streaming distances are defined in the first lines of the script. They are currently set to 350.0.

The teleport command is /blake. You will be spawned at the ruins in the island core.

You are allowed to modify this map to best suit your server, but you are NOT allowed to release it

under your own name. If you release scripts based on this map, you are required to mention me in the credits.



Download Link: https://github.com/HeLiOn--PrImE/SAMP-Blake-Island


  Function Get ID by name
Posted by: GospodinX - 2021-03-16, 01:34 PM - Forum: Pawn Scripting - Replies (6)

I have a function IDByName, as the name of the function says I want to get id by player name.



Function:

Code:
IdByName(const name[])

{

new iPlayer,names[MAX_PLAYER_NAME];

iPlayer = 999;

foreach(new i : Player)

{

? ? GetPlayerName(i, names, sizeof(names));

? ? if(!strcmp(name, names, true))

? ? {

? ? ? ? iPlayer = i;

}

}

return iPlayer;

}



Example:

Code:
? new oie = IdByName(name);

if(IsPlayerConnected(oie)) //player is online and oie is his ID

{

//code

}

else //player is not online

{

//code

}



The function was work perfectly for me for a long time. But now when I have 200 players on my server function get bugged and many times when a player is connected function can't found them..



Have anyone ideas why it happened and how I can improve my function?


  I need Includes for my gamemode (roleplay)
Posted by: McZulian - 2021-03-16, 12:17 AM - Forum: Support - Replies (2)

Hello, i'm McZulian



I'm trying to find some includes to add to my roleplay samp server but i'm not finding anything on google. Can someone send me a list of recommended includes to add?

I found some like walking-styles and eselection that add some awesome things to my server, also easydialog that makes it 100 times easier to do dialogs.



Thank you


  SAMP has crashed (Only with my server)
Posted by: Boxi - 2021-03-15, 08:51 PM - Forum: Pawn Scripting - Replies (2)

Hello everyone! again I'm here again :c it turns out that I fixed all the GM bugs, it compiles perfectly and starts just as well. Until I enter the game and just in this part:



[Image: G7Rshu6.png]



The game closes suddenly with the famous samp crash error.



[Image: B2iLjLL.png]



It only happens on my server, I already tried on other servers and the game doesn't close, any idea? I checked the server log and nothing out of the ordinary appears. Maybe it crashes because of the language change? since I translated it from English to Spanish, which uses ALMOST the same letters except for the "?" I don't know if this could be the cause.? (I don't think so but it's the only thing I can think of).


  FIXED how do assemble the auction system logic with the samp function
Posted by: PutuSuhartawan - 2021-03-15, 08:50 PM - Forum: Pawn Scripting - No Replies

Quote:// variabel auction for auction system



new BidPrice, HighestBidder, Itemofferings[50], CountDownAuction = 10, CountOfParticipants = 0, TimerLimitForAuction, AuctionRunning = 0, WinnerOfAuction[50], WinnerOfAuctionID, AuctionMartChartBoard;



https://github.com/PutuSuhartawan/Script...uction.pwn





already have a board that has been given the text, which is usually given a black texture. Now my question is what functions are needed so that many people who install these bits will appear the value with the highest bid on the board. So in public, what functions are needed for the logic to get this highest value bit?


  Custom Models Question
Posted by: RoBy41 - 2021-03-15, 05:52 PM - Forum: Pawn Scripting - Replies (2)

I'd like to add custom skin models to the class selection, but once I add 20001 for example



AddPlayerClass(20001, 2511.1494,-1666.1211,13.5700,102.4142, 0, 0, 0, 0, 0, 0);



it shows up as CJ in the class selection?instead of the custom skin. How can I fix this?


  Having some errors anyone can help fix it?
Posted by: Nelixus - 2021-03-15, 01:48 PM - Forum: Pawn Scripting - Replies (1)

Hey im getting these errors:

Code:
C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 009: invalid array size (negative, zero or out of bounds)

C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 001: expected token: ")", but found ";"

C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 036: empty statement

C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : fatal error 107: too many error messages on one line



Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase





4 Errors.



at line:

Code:
inline registracija(pid, did, resp, litem, input[])

any ideas why im getting?


  Having some errors anyone can help fix it?
Posted by: Nelixus - 2021-03-15, 01:45 PM - Forum: Programming - Replies (2)

Hey im getting these errors:

Code:
C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 001: expected token: ")", but found ";"
C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : error 036: empty statement
C:\Users\MSI\Desktop\new LERG\gamemodes\LERG.LT.pwn(545) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

at line:
Code:
inline registracija(pid, did, resp, litem, input[])
any ideas why im getting?


  hello everyone im new here
Posted by: AndyForelli1988 - 2021-03-15, 02:59 AM - Forum: Chat - Replies (4)

what will i do in burgershot.cc website?


  [SOLVED] spawned NPC just stands normally like an actor AFK in general
Posted by: PutuSuhartawan - 2021-03-14, 11:13 AM - Forum: Pawn Scripting - Replies (4)

On top of OnPlayerConnect, OnPlayerRequestSpawn, and OnPlayerSpawn callbacks. Check the player is a NPC, then return 1.

PHP Code:

if(IsPlayerNPC(playerid)) return 1;

By doing this you are passing the NPC through the login or register.

That was working at my game mode. Thanks



Sorry, at first I managed to make the PLAYER_RECORDING_TYPE_ONFOOT NPC pawn on the server and it matches the .amx and .rec files in the NPC models. But why doesn't the NPC move like it's supposed to be exactly in the .rec file? But this spawned NPC just stands normally like an actor in general, even though if every teleportation to the NPC only changes its position and has become, sometimes the position is like at the beginning of .rec or in the final position .rec so strangely it looks like there is no animation of the path on the NPC. the.