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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,037
» Latest member: gui717144
» Forum threads: 2,347
» Forum posts: 12,235

Full Statistics

Online Users
There are currently 323 online users.
» 1 Member(s) | 320 Guest(s)
Bing, Google, tucho

Latest Threads
will open.mp supports hig...
Forum: Questions and Suggestions
Last Post: NoxxeR
Yesterday, 07:10 PM
» Replies: 2
» Views: 393
black screen
Forum: Support
Last Post: geppetog
Yesterday, 05:34 PM
» Replies: 0
» Views: 18
Discord server - Ban Appe...
Forum: Chat
Last Post: joshcoconutard
2025-04-22, 06:42 PM
» Replies: 0
» Views: 38
I know Kalcor left the bu...
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-22, 02:22 PM
» Replies: 4
» Views: 149
Sponsors and Donations
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-20, 05:48 AM
» Replies: 0
» Views: 49
Best practices for conver...
Forum: Tech
Last Post: Mido
2025-04-19, 09:53 PM
» Replies: 1
» Views: 123
What got you into SA-MP a...
Forum: Chat
Last Post: alecnia
2025-04-17, 01:17 AM
» Replies: 1
» Views: 170
I would like to know abou...
Forum: General Discussions
Last Post: Wriney
2025-04-15, 07:14 AM
» Replies: 0
» Views: 83
Mini Games
Forum: Advertisements
Last Post: Voldy
2025-04-15, 03:59 AM
» Replies: 9
» Views: 1,943
help
Forum: Programming
Last Post: J0nathan550
2025-04-14, 06:10 PM
» Replies: 1
» Views: 198

 
  PD HQ interior
Posted by: Stefhan - 2019-12-31, 11:30 PM - Forum: Videos and Screenshots - Replies (2)

Please share your critique.



[Video: https://www.youtube.com/watch?v=zOhrmuDE...e=youtu.be]


  [MAP] San Fierro Police Department
Posted by: InYourDreams - 2019-12-31, 06:24 PM - Forum: Videos and Screenshots - No Replies

[Video: https://youtu.be/F6kI4bF62l0]


  [MAP] Mafia Mansion in San Fierro
Posted by: InYourDreams - 2019-12-31, 01:36 AM - Forum: Videos and Screenshots - No Replies

Hey guys! What do you think about this map? :)



[Video: https://www.youtube.com/watch?v=pyc9nVsvBxc]


  [MAP] San Fierro Central Bank
Posted by: InYourDreams - 2019-12-29, 02:02 PM - Forum: Videos and Screenshots - No Replies

Hello guys! This map was a paid project for one of my customers. Hope you will enjoy. :)





[Video: https://www.youtube.com/watch?v=IC2hV0tPEfc]


  Vehicle Bugger
Posted by: Trox - 2019-12-26, 02:23 PM - Forum: Pawn Scripting - No Replies

Helu.



Does anyone have any idea how can i block this cheat?

Ik it uses unoccupied vehicles and kinda teleport them but how can i check it?



I tried to check player velocity , position , seat , vehicle pos, vehicle speed?.. nothing works.


  Pathfinding with ColAndreas and FCNPC
Posted by: [SF]kAn3 - 2019-12-23, 04:41 PM - Forum: Pawn Scripting - No Replies

I'm trying both to make npcs move around randomly and follow a player, yet there are 2 main problems.



1 - While randomly moving, npcs sometimes fall a bit under the ground surface, and then they start going up and down the surface real fast, making severe eye damage if you look at them

2 - When following someone, they will climb any object that is on their way, regardless of its height. For example, if there's a tree between me and the npc, he won't avoid the tree so you will see it going from the ground to the top of the tree while walking. Same thing happens for any other object.



Randomly move around:



PHP Code:
GoRandom(npcid){

?? ?if(!
FCNPC_IsValid(npcid)){

?? ??? ?
printf("[DEBUG] Invalid NPC: %d"npcid);

?? ??? ?return;

?? ?}

??? if(
FCNPC_IsMoving(npcid)){

?? ??? ?return;

?? ?}

?? ?if(
FCNPC_IsDead(npcid)){

?? ??? ?return;

?? ?}

? ? if(
FCNPC_IsAttacking(npcid)){

? ? ?? return;

? ? }

??? new 
FloatstartXFloatstartYFloatstartZFloatnxFloatnyFloatnzFloatrxFloatryFloatrzchance random(2), boolpositivecoord;

?? ?
FCNPC_GetPosition(npcidstartXstartYstartZ);

?? ?
positivecoord = (chance == 0) ? true false;

?? ?
startX = (positivecoord == true) ? startX  random(20)  15 startX random(20)  15;

?? ?
startY = (positivecoord == true) ? startY  random(20)  15 startY random(20)  15;

?? ?
FCNPC_GetPosition(npcidnxnynz);

?? ?
CA_FindZ_For2DCoord(startXstartYstartZ);

?? ?
CA_FindZ_For2DCoord(nxnynz);



?? ?if(
CA_RayCastLine(startXstartYstartZnxnynzrxryrz) == 0){

?? ??? ?
FCNPC_GoTo(npcidstartXstartYstartZFCNPC_MOVE_TYPE_WALKFCNPC_MOVE_SPEED_AUTOtrue);

?? ??? ?
FCNPC_ApplyAnimation(npcid"PED""WALK_DRUNK"4.111100);

?? ?}



?? ?return;





Follow the player:



PHP Code:
if(IsPlayerInRangeOfPoint(npcid,45.0,xa,ya,za) && CA_RayCastLine(xayazanxnynzrxryrz) == 0){ // if is near player and there's no object between them

??? FCNPC_GoTo(npcid,xa,ya,za,MOVE_TYPE_RUN,0.4true);

? ? return 
1;





Am I doing it wrong, there already is a pathfinding method in FCNPC or CA or anything similar? Also I found Dijkstra (https://pastebin.com/RwQZ1PWy) is it obsolete?

Any help will be appreciated.


  [MAP] Mall exterior
Posted by: Stefhan - 2019-12-20, 04:14 PM - Forum: Videos and Screenshots - No Replies

I removed the original mall and replaced it with several stores.



You Tool, a home depot,

Davis Mall, the new mall,

IDEA, basically IKEA,

Sumo, an electronics store,

A parking garage,

Some random minor stores



Video shows both daylight and nighttime. Interiors haven't been mapped yet.



Please share your critique.



[Video: https://www.youtube.com/watch?v=WSrzm7byB1w]


  [MAP] SKYRIM TAVERN in SA-MP!
Posted by: Twixxer - 2019-12-18, 02:15 PM - Forum: Videos and Screenshots - Replies (4)

[Image: GMbd0Ik.png]



So I recreated The Sleeping Giant tavern/inn from The Elder Scrolls: Skyrim, in SAMP. I had made a similar map years ago, but I felt like it needed a fresh re-do. This is the result. No mods/custom objects. Around 800 objects.












[Image: GuIG4pA.jpg]



[Image: 5DEtB4Z.jpg]



[Image: 98J3iq7.jpg]



[Image: LdInxo7.jpg]



[Image: gBMmVEO.jpg]



[Image: aynl6sd.jpg]



[Image: nSgOQs0.jpg]



[Image: MkO2Lhg.jpg]



[Image: HKN74hQ.jpg]



[Image: j9xq6Bf.jpg]



[Image: MCK4Mkh.jpg]


Question YSI Logic user-incomprehension and usage
Posted by: hastlaking - 2019-12-17, 04:17 PM - Forum: Pawn Scripting - Replies (3)

Hello Community, i have this odd incomprehension with the YSI Libraries and most-partial of the documentation is missing or not yet implemented (explanation) into github repository i might say.


  O.G. hood mappings with custom models at the Streetz of Los Santos
Posted by: dignity - 2019-12-17, 03:35 PM - Forum: Videos and Screenshots - Replies (1)

All mappings below are 95% custom models. Every area of the city has enex maps added to them.





[Image: MJ6Qs1e.png]

[Image: ueprI8Y.png]



[Image: UnibmJ2.png]

[Image: 0dhXX5Q.png]



[Image: 9TE1zGK.png]

[Image: t0TEFwh.png]

[Image: PqnL0We.png]



[Image: zYDwzHL.png]

[Image: SZ09Vsn.png]

[Image: rWRkNti.png]