Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 473 online users. » 1 Member(s) | 470 Guest(s) Google, Bing, Rishi
|
|
|
Host de OpenMP | SAMP & VPS SAMP |
Posted by: nicehosting.com.br - 2024-08-31, 02:47 AM - Forum: Portuguese/Portugu?s
- No Replies
|
|
🔹 Hospedagem de SAMP & OpenMP 🔹
🏷️ Hospedagem SAMP: Alta performance e proteção DDoS de 220Gbps para seus servidores:
👉 Host SAMP
🏷️ Hospedagem OpenMP: Desempenho otimizado com suporte especializado:
👉 Host OpenMP
🏷️ VPS SAMP: Controle total e máxima estabilidade com baixa latência:
👉 VPS SAMP
🇧🇷 Datacenter Brasileiro com Ping BR
💪 Anti-DDoS especializado em SAMP
📞 Suporte técnico especializado
🚀 Maximize seu servidor com Nice Hosting!
|
|
|
HELP Me 4 Waring undefined symbol "signLabels" |
Posted by: nhocngu24 - 2024-08-29, 03:08 PM - Forum: Support
- Replies (1)
|
|
ERROR
D:\caybienbao (1).pwn(25) : error 017: undefined symbol "signLabels"
D:\caybienbao (1).pwn(25) : warning 215: expression has no effect
D:\caybienbao (1).pwn(25) : error 001: expected token: ";", but found "]"
D:\caybienbao (1).pwn(25) : error 029: invalid expression, assumed zero
D:\caybienbao (1).pwn(25) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
public OnGameModeInit()
{
for (new i = 0; i < MAX_SIGNS_ADMIN; i++)
{
signLabels[i] = INVALID_TEXT_LABEL; // Kh?i t?o giá tr? bi?n báo không h?p l?
}
// Kiem tra gia tri cua mang signPositions
if (signPositions[0][0] == 0.0 || signPositions[0][1] == 0.0 || signPositions[0][2] == 0.0)
{
printf("error: invalid float values!");
return 0; // Dang lai neu gia tri khôong hop le
}
return 1;
}
|
|
|
Não consigo criar motos |
Posted by: contatofelipeojustin - 2024-08-25, 02:23 PM - Forum: Pawn Scripting
- Replies (1)
|
|
Sou novo no Open.MP e no Qawno, estou querendo fazer um servidor de fugas e pvp. Testei um sistema de criar motos bem básico, mas não estou tendo resultado na criação da moto, o sistema funciona com base no comando: /moto (utilizei a include do ZCMD), esse comando abre uma dialog que é possível escolher uma moto, mas não cria a moto. Alguém pode me ajuda? Meu Código(coloque ias partes principais):
Code: #include <open.mp>
#include <a_samp>
#include <zcmd>
new Float:PlayerX;
new Float:PlayerY;
new Float:PlayerZ;
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == ESCOLHER_MOTOS)
{
if(response)
{
switch(listitem)
{
case 0:
{
// Obtém a posição e o ângulo do jogador
GetPlayerPos(playerid, PlayerX, PlayerY, PlayerZ);
new Float:PlayerAngle;
GetPlayerFacingAngle(playerid, PlayerAngle);
// Calcula a nova posição na frente do jogador
new Float:OffsetX, Float:OffsetY, Float:OffsetZ = 1.0; // Um pouco acima
OffsetX = PlayerX + (3.0 * floatsin(-PlayerAngle, degrees)); // 3 unidades na frente
OffsetY = PlayerY + (3.0 * floatcos(-PlayerAngle, degrees)); // 3 unidades na frente
// Envia uma mensagem ao jogador com as novas coordenadas
new str[128];
format(str, sizeof(str), "Nova posição para criar a moto: X: %f, Y: %f, Z: %f", OffsetX, OffsetY, PlayerZ + OffsetZ);
SendClientMessage(playerid, -1, str);
// Cria o veículo na nova posição
new vehicleid = AddStaticVehicleEx(522, OffsetX, OffsetY, PlayerZ + OffsetZ, PlayerAngle, -1, -1, 1000, false);
// Verifica se o veículo foi criado com sucesso
if(vehicleid == INVALID_VEHICLE_ID)
{
SendClientMessage(playerid, -1, "Falha ao criar a moto.");
}
else
{
SendClientMessage(playerid, -1, "Moto NRG-500 criada com sucesso.");
}
}
}
}
}
return 1;
}
CMD:moto(playerid)
{
ShowPlayerDialog(playerid, 876, DIALOG_STYLE_LIST, "Motos", "NRG-500", "Selecionar", "Cancelar");
return 1;
}
|
|
|
Compare to SA-MP or Multi Theft Auto mods |
Posted by: henrrysa - 2024-08-23, 07:15 AM - Forum: Pawn Scripting
- No Replies
|
|
I'm relatively new to the world of GTA:SA multiplayer mods, and I'm wondering what makes open.mp stand out compared to the competition. Some things I'm curious about:
What unique features or functionality does open.mp provide that the other mods don't?
How does the performance, stability, and server/client experience differ between the mods?
Are there any major differences in terms of the mod's development, community, or support?
What are the key considerations someone should take into account when choosing which mod to use for their GTA:SA multiplayer experience?
I'd love to hear from experienced open.mp users about why they've chosen this particular mod and what benefits it offers. Any insights would be greatly appreciated as I explore the world of GTA:SA multiplayer!
|
|
|
Help me |
Posted by: tuankhanqsamp - 2024-08-21, 09:36 AM - Forum: Pawn Scripting
- Replies (1)
|
|
[113064] Warning 209 : 209: function should return a valu
//safezone
forward LoadPlayer();
public LoadPlayer()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Loaded[i] == 1)
{
TogglePlayerControllable(i,true);
Loaded[i] = 0;
return 1;
}
}
}
}
[116252] Warning 202: number of arguments does not match definition
CMD:laytoado(playerid, params[])
{
new string[128];
new tstring[50];
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
format(string, sizeof(string), "%0.2f, %0.2f, %0.2f", x, y, z);
format(tstring, sizeof(tstring), "-------------------------");
Log("logs/toado.log", string, tstring);
SendClientMessage(playerid, COLOR_WHITE, "Ban Da Lay Toa Do Vao (( Sciptfile>logs>an vao file toado.log de lay toa do nhe )).");
return 1;
}
|
|
|
SAMP VOICE PORT |
Posted by: Kamarova - 2024-08-19, 10:20 PM - Forum: Support
- Replies (2)
|
|
Hi
I Have VPS ( FireWall On , i open only port 7777 of my server )
AND I OPEN A SAMP SERVER but the samp voice is not working in game
but when i disable the firewall , the samp voice working good in game
so i think need find port of samp voice
any one can help me ?
|
|
|
SAMP VOICE PORT |
Posted by: Kamarova - 2024-08-19, 10:19 PM - Forum: General Discussions
- No Replies
|
|
Hi
I Have VPS ( FireWall On , i open only port 7777 of my server )
AND I OPEN A SAMP SERVER but the samp voice is not working in game
but when i disable the firewall , the samp voice working good in game
so i think need find port of samp voice
any one can help me ?
|
|
|
|