Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 6,506
» Latest member: nohuvin
» Forum threads: 2,233
» Forum posts: 12,033
Full Statistics
|
Online Users |
There are currently 397 online users. » 0 Member(s) | 395 Guest(s) Bing, Google
|
Latest Threads |
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
Yesterday, 06:36 PM
» Replies: 0
» Views: 27
|
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 31
|
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 50
|
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 451
|
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 48
|
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 66
|
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 59
|
How to Compile Your Gamem...
Forum: Tutorials
Last Post: thelante
2024-11-13, 08:50 AM
» Replies: 3
» Views: 453
|
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,459
|
SA:MP forum offline
Forum: Portuguese/Portugu?s
Last Post: weslley_script
2024-11-09, 05:27 PM
» Replies: 7
» Views: 9,901
|
|
|
Command does not work in-game |
Posted by: PANZEHIR_ - Yesterday, 06:36 PM - Forum: Pawn Scripting
- No Replies
|
|
Hello, i made a simple /explode <playername/playerid> <explosion type> command.
I dont get any compile errors, but the explosion type does not work in-game, so i can not explode other player with different explosion types... i dont understand why.
Quote:CMD:explode(playerid, params[])
{
new string[128], bombid, Float:x, Float:y, Float:z, Float:type;
if(sscanf(params, "ui", bombid, type)) SendClientMessage(playerid, 0xff0004AA, "Usage: /explode <playername/playerid> <explosion type>");
else if(!IsPlayerConnected(bombid)) SendClientMessage(playerid, 0xff0004AA, "ERROR: This player is not connected.");
else
{
new name[MAX_PLAYER_NAME], targetname[MAX_PLAYER_NAME], id;
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
GetPlayerName(id, targetname, MAX_PLAYER_NAME);
GetPlayerPos(bombid, x, y, z);
CreateExplosion(x, y, z, bombid, 10.00);
format(string, 128, "* You have exploded %s (ID:%d)", name, playerid);
SendClientMessage(playerid, 0x43ff0fAA, string);
format(string, 128, "* %s (ID:%d) exploded %s (ID:%d) with explosion type %i", name, playerid, targetname, id, type);
SendClientMessageToAll(0xffea00AA, string);
}
return 1;
}
|
|
|
White Screen |
Posted by: Phat202146_real - 2024-11-21, 02:50 PM - Forum: Support
- No Replies
|
|
So I was getting the multiplayer, and then I saw a white screen. If I click the new game, it just crashes the game. How do I fix that?
(just bad english)
|
|
|
I get error 021 using y_hooks |
Posted by: daniscript18 - 2024-11-18, 11:34 PM - Forum: Pawn Scripting
- No Replies
|
|
Code: Pawn compiler 3.10.10 Copyright (c) 1997-2006, ITB CompuPhase
Modules/Worlds/Code.pwn(3) : error 021: symbol already defined: "_@yHOnDialogResponse@000"
Modules/Worlds/Code.pwn(3) : error 021: symbol already defined: "@yH_OnDialogResponse@000"
Modules/Worlds/Code.pwn(3) : error 021: symbol already defined: "@yH_OnDialogResponse@000"
Modules/Worlds/Code.pwn(3) : fatal error 107: too many error messages on one line
Compilation aborted.
I am developing a modular code that requires quite a few files, I wanted to simplify things further by using y_hooks since after reading the documentation I knew that was what I needed.
However I'm getting these errors, I've searched for information on some forums and in the y_hooks documentation, I've tried everything I can but this is the first time I've developed modular code of this style and used y_hooks on this scale, so I really don't know what I'm doing wrong.
I preferred to share this code where I replicate the problem so as not to extend myself so much talking.
- gamemodes/GM.pwn (Main file)
Code: #include <a_samp>
#include "Modules/Codes.pwn"
main() {
return true;
}
- gamemodes/Modules/Codes.pwn
Code: #include "Modules/Users/Code.pwn"
#include "Modules/Worlds/Code.pwn"
- gamemodes/Modules/Users/Code.pwn
Code: #include <YSI_Coding/y_hooks>
hook OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
return true;
}
- gamemodes/Modules/Worlds/Code.pwn
Code: #include <YSI_Coding/y_hooks>
hook OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
return true;
}
- I tried including y_hooks at the end of all Code.pwn files.
- I tried including y_hooks only in the main file after including Codes.pwn.
- I tried including y_hooks in Codes.pwn and in all Code.pwn files (at the end and at the beginning of the files)
- I tried including y_hooks only in Codes.pwn (at the end and at the beginning of the file).
I think I also tried other ways of including y_hooks but it took me a few hours until I gave up and decided to turn to you guys... I hope you can help me solve the problem and I will appreciate if I can figure this out and learn more about y_hooks.
|
|
|
Is the SAMP Hosting the same for OpenMG ? |
Posted by: OperaGX - 2024-11-14, 09:33 PM - Forum: General Discussions
- No Replies
|
|
The title is self explanatory, I was wondering if the regulars SAMP hosts are able to run an Open MG server OR it is necessary some kind of adaption to run it ? If not, so, is necessary a Host compatibility targeting Open MG nor SAMP anymore?
|
|
|
Run time error 19: "File or function is not found" |
Posted by: Rexey - 2024-11-14, 03:50 AM - Forum: Pawn Scripting
- No Replies
|
|
Hello I am having problems in the development of my SAMP server, at the time of running the samp-server.exe throws me error 19, this is all it puts in server-log.txt
(im using translator, excuse me if you misunderstood)
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
Server Plugins
--------------
Loaded 0 plugins.
Ban list
--------
Loaded: samp.ban
Started server on port: 7777, with maxplayers: 50 lanmode is OFF.
Filterscripts
---------------
Loading filterscript 'gl_actions.amx'...
Loading filterscript 'gl_realtime.amx'...
Loading filterscript 'gl_property.amx'...
-----------------------------------
Grand Larceny Property Filterscript
-----------------------------------
Loading filterscript 'gl_mapicon.amx'...
Loading filterscript 'ls_elevator.amx'...
Loading filterscript 'attachments.amx'...
Loading filterscript 'skinchanger.amx'...
--Admin Player Skin Changer Loaded
Loading filterscript 'vspawner.amx'...
--Admin Vehicle Spawner Loaded
Loading filterscript 'ls_mall.amx'...
Loading filterscript 'ls_beachside.amx'...
|---------------------------------------------------
|--- LS BeachSide Filterscript
|-- Script v1.03
|-- 19th April 2015
|---------------------------------------------------
|-- LS BeachSide Building Elevator created
|---------------------------------------------------
Loaded 10 filterscripts.
Reading File: blank
Reading File: properties/houses.txt
Reading File: properties/businesses.txt
Reading File: properties/banks.txt
Reading File: properties/police.txt
Script[gamemodes/cubaDM.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0
|
|
|
| RTTDM Zombie Survival | |
Posted by: mundaukda96 - 2024-11-08, 10:21 AM - Forum: Advertisements
- No Replies
|
|
🌌 Join the Ultimate SAMP RTTDM Survival Experience! 🌌
🌍 Server Name: RTTDM Zombie Survival
🧟 Gamemode: DayZ Survival
🔥 Location: Pakistan
🚀 IP: [146.190.217.154:2024]
Step into a post-apocalyptic world! Survive against zombies, scavenge for supplies, and fight off other survivors.
Key Features: - 🧟 Realistic Zombie AI – They’re relentless, so keep your guard up!
- 🎒 Loot System – Find essential supplies, from food to weapons.
- ⚔️ PvP Zones – Not just zombies, other players are also a threat!
- 🏠 Base Building – Set up your own safe haven to survive the chaos.
- 🏆 Leaderboard – Climb the ranks and be the ultimate survivor.
Why Us?- Dedicated admins ensuring fair gameplay.
- Optimized server for smooth, lag-free experience.
- Events and Challenges every weekend.
Are you ready to survive? Join now and fight for your life!
🔗 Discord: [https://discord.gg/rNkZKwEA]
Join Our Discord Server in Fix
👾 Join Now and Begin Your Journey!
|
|
|
Karma GangWars TDM/DM PC/Andriod |
Posted by: shamse_boy - 2024-11-05, 10:33 PM - Forum: Advertisements
- No Replies
|
|
🔥 Join [K] Gangwars - The Ultimate SA-MP Gang Wars Server! 🔥
Are you ready for the thrill of intense gang warfare and non-stop action? Look no further! [K] Gangwars brings you the best of TDM/DM in an immersive environment designed for hardcore SA-MP players!
46.183.184.33:7281
🌍 Features: - Dynamic Hill Positioning - Fight for control of ever-changing hills and territories to keep the action fresh and challenging!
- Scoring Feedback - Get real-time score updates and notifications for every victory and contribution to your gang’s success.
- Control Limits - Balanced control times to keep gameplay fast-paced and fair for all players.
- Gang Feedback - Receive instant notifications and updates when you join a gang and start earning respect right from the start!
46.183.184.33:7281
🎮 Why Choose [K] Gangwars?
Our server is optimized for excitement, with a supportive community, smooth gameplay, and constant updates to make every session unforgettable. Whether you're a seasoned fighter or a new recruit, [K] Gangwars has something for you!
46.183.184.33:7281
🚀 Join Us Now!
Type [46.183.184.33:7281] in SA-MP to connect and start your journey in the wild world of gang warfare. Dominate the streets, build your reputation, and become a legend in [K] Gangwars!
DISCORD
https://discord.gg/HX2y54P4ef
💥 Join the Fight. Own the Streets. Be the King.
|
|
|
Checkpoint visibility |
Posted by: simitter99 - 2024-11-05, 02:46 PM - Forum: Pawn Scripting
- No Replies
|
|
I am using incognito streamer, I want a checkpoint to be invisible but still existent. Couldn't find a way to achieve that, thanks for any help!
|
|
|
|