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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,616
» Latest member: zohaN
» Forum threads: 2,335
» Forum posts: 12,268

Full Statistics

Online Users
There are currently 379 online users.
» 0 Member(s) | 375 Guest(s)
Bing, Yandex, Baidu

Latest Threads
Need assistance
Forum: Pawn Scripting
Last Post: Cappsy
3 hours ago
» Replies: 1
» Views: 29
Magyar
Forum: Hungarian/Magyar
Last Post: Cappsy
3 hours ago
» Replies: 33
» Views: 62,710
United Gaming Life Rolepl...
Forum: Advertisements
Last Post: Cruncher
9 hours ago
» Replies: 1
» Views: 413
Original Godfather
Forum: Pawn Scripting
Last Post: edgy
Yesterday, 01:19 AM
» Replies: 2
» Views: 68
Tierra Robada Roleplay [E...
Forum: Advertisements
Last Post: Vicee
2025-10-14, 04:00 PM
» Replies: 0
» Views: 63
City of Grand RP
Forum: Advertisements
Last Post: KaidoSancho
2025-10-14, 03:49 PM
» Replies: 0
» Views: 39
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
2025-10-14, 09:02 AM
» Replies: 0
» Views: 70
Problem with MAP. Please ...
Forum: Pawn Scripting
Last Post: hoshimitsu
2025-10-12, 06:39 AM
» Replies: 0
» Views: 61
I get since compiler and ...
Forum: Pawn Scripting
Last Post: pauli
2025-10-11, 03:29 PM
» Replies: 0
» Views: 68
SA-MP: Map Construction
Forum: General Discussions
Last Post: king599
2025-10-11, 12:56 AM
» Replies: 1
» Views: 3,895

 
Exclamation [AJUDA] Ajuda com c?digo
Posted by: Pedxz - 2021-06-23, 07:36 PM - Forum: Portuguese/Portugu?s - Replies (2)

Eu tenho esta linha de c?digos:

Code:
CMD:cv(playerid, params[])

{

if(aInfo[playerid][Admin] == 0) return SendClientMessage(playerid, COLOR_ERRO, "[ x ] Voc? n?o tem permiss?o!");



new sVeiculo[50], vehicleid, modeloid, cor1, cor2;



if(sscanf(params, "s[50]dd", sVeiculo, cor1, cor2)) return SendClientMessage(playerid, COLOR_ERRO, "[ x ] Uso correto: /CV [ Ve?culo ID / Nome ] [ Cor 1 ] [ Cor 2 ]");



if(cor1 < 0 || cor1 > 255 || cor2 < 0 || cor2 > 255) return SendClientMessage(playerid, COLOR_ERRO, "[ x ] Use IDs de cores de 0 a 255!");



if(IsNumeric(sVeiculo)) modeloid = strval(sVeiculo);

else modeloid = ReturnVehicleID(sVeiculo);



if(modeloid < 400 || modeloid > 611 || modeloid == -1) return SendClientMessage(playerid, COLOR_ERRO, "[ x ] Modelo de ve?culo inv?lido!");



new Float:pPos[4];



GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]);

GetPlayerFacingAngle(playerid, pPos[3]);



vehicleid = CreateVehicle(modeloid, pPos[0], pPos[1], pPos[2], pPos[3], cor1, cor2, -1);



vCriado[vehicleid] = true;



LinkVehicleToInterior(vehicleid, GetPlayerInterior(playerid));

SetVehicleVirtualWorld(vehicleid, GetPlayerVirtualWorld(playerid));



PutPlayerInVehicle(playerid, vehicleid, 0);

PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);



format(gStr, sizeof(gStr), "[BPL] Ve?culo %s criado com sucesso! ( Modelo ID: %d - Ve?culo ID: %d )", GetVehicleModelNameEx(modeloid), modeloid, vehicleid);

? ? SendClientMessage(playerid, COLOR_VERDECMD, gStr);

? ? return 1;

}



CMD:criarveiculo(playerid, params[])

{

new sCMD[50];

format(sCMD, sizeof(sCMD), "/cv %s", params);



ExecutarComando(playerid, sCMD);

return 1;

}



// -------------------------------------------------------------------------------------------------------------- //



CMD:dv(playerid)

{

if(aInfo[playerid][Admin] == 0) return SendClientMessage(playerid, COLOR_ERRO, "[ x ] Voc? n?o tem permiss?o!");



if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_ERRO, "[ x ] Voc? n?o est? em um ve?culo!");



new vehicleid = GetPlayerVehicleID(playerid);



if(vCriado[vehicleid] == false) return SendClientMessage(playerid, COLOR_ERRO, "[ x ] Voc? s? pode destruir ve?culos criados!");



format(gStr, sizeof(gStr), "[BPL] Ve?culo %s exclu?do com sucesso! (ID %d)", GetVehicleModelName(vehicleid), vehicleid);

SendClientMessage(playerid, COLOR_VERDECMD, gStr);



sDestroyVehicle(vehicleid);

PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);



Streamer_Update(playerid);

return 1;

}





Por?m, ao compilar esses erros surgem e eu n?o entendo o porque:


Code:
C:\Users\Matheus\Desktop\BPL GAMES 2.0 - Copia\gamemodes\bpl.pwn(303) : warning 216: nested comment[/align]



[align=left]C:\Users\Matheus\Desktop\BPL GAMES 2.0 - Copia\gamemodes\bpl.pwn(312) : error 017: undefined symbol "Admin"[/align]



[align=left]C:\Users\Matheus\Desktop\BPL GAMES 2.0 - Copia\gamemodes\bpl.pwn(320) : error 017: undefined symbol "IsNumeric"[/align]



[align=left]C:\Users\Matheus\Desktop\BPL GAMES 2.0 - Copia\gamemodes\bpl.pwn(321) : error 017: undefined symbol "ReturnVehicleID"[/align]



[align=left]C:\Users\Matheus\Desktop\BPL GAMES 2.0 - Copia\gamemodes\bpl.pwn(340) : error 017: undefined symbol "GetVehicleModelNameEx"[/align]



[align=left]C:\Users\Matheus\Desktop\BPL GAMES 2.0 - Copia\gamemodes\bpl.pwn(350) : error 017: undefined symbol "ExecutarComando"[/align]



[align=left]C:\Users\Matheus\Desktop\BPL GAMES 2.0 - Copia\gamemodes\bpl.pwn(358) : error 017: undefined symbol "Admin"[/align]



[align=left]C:\Users\Matheus\Desktop\BPL GAMES 2.0 - Copia\gamemodes\bpl.pwn(366) : error 017: undefined symbol "GetVehicleModelName"[/align]



[align=left]C:\Users\Matheus\Desktop\BPL GAMES 2.0 - Copia\gamemodes\bpl.pwn(369) : error 017: undefined symbol "sDestroyVehicle"[/align]



[align=left]C:\Users\Matheus\Desktop\BPL GAMES 2.0 - Copia\gamemodes\bpl.pwn(376) : warning 203: symbol is never used: "PlayerInfo"[/align]



[align=left]Pawn compiler 3.10.4 Copyright (c) 1997-2006, ITB CompuPhase[/align]







[align=left]8 Errors.[/align]



[align=left]







Poderiam me ajudar? E me dizer qual foi o causador dos erros?


  Run sa-mp server in android terminal
Posted by: Otakeiro - 2021-06-23, 04:50 PM - Forum: Programming - Replies (3)

super solved...


Question Detect Holding Key
Posted by: GeorgeXCarl - 2021-06-23, 11:07 AM - Forum: Pawn Scripting - Replies (5)

is there any way?how can i check if a player is holding the KEY_SPRINT button?


  Gamemode is not detected
Posted by: fzbian - 2021-06-22, 12:25 AM - Forum: Pawn Scripting - Replies (2)

Sorry for my English



I am learning Pawno however I have had a few problems when starting my server, one of those is this:



[Image: unknown.png?width=919&height=480]



I was googling this error however I did not find a concrete solution, here I leave you my gamemode and my files in case someone has the solution, I would appreciate it very much



My server.cfg

Code:
echo Executing Server Config...

lanmode 0

rcon_password asd

maxplayers 50

port 7777

hostname SA-MP 0.3 Server

gamemode0 bare

plugins pawncmd streamer

query 1

chatlogging 0

weburl www.sa-mp.com

onfoot_rate 40

incar_rate 40

weapon_rate 40

stream_distance 300.0

stream_rate 1000

maxnpc 0

logtimeformat [%H:%M:%S]

language English



My gamemode

https://pastebin.com/2yqDMZ5L



My plugins folder:

[Image: unknown.png]


  HELP! How to Make Moving, Running, Text Draw With Box ?
Posted by: PutuSuhartawan - 2021-06-21, 07:58 PM - Forum: Pawn Scripting - Replies (8)

Ilustration :?youtube.com/watch?v=8-laOTcqCj0


  [HELP] Pawn scripting problem
Posted by: Haitam - 2021-06-20, 03:22 PM - Forum: Support - Replies (2)

When i downloaded SAMP map editor i run it and it's say i need to update my graphic card but i already have latest version please anyone have a solution for this, i very need it.

Tanks


  Streamer Duplicating Objects
Posted by: Obie Jones - 2021-06-20, 01:57 PM - Forum: Pawn Scripting - Replies (1)

Greetings everyone,



Did anyone have experience with streamer or script duplicating objects from the mapping.pwn?

It happens up to 20 times, same object spawned so many times for unknown reason.



Suggestions?



Thanks.


  VIP System for gang wars/TDM
Posted by: Abraar - 2021-06-19, 05:53 PM - Forum: Filterscripts - Replies (1)

Hello :D



I own a server, but I wanted a VIP Sytem for my gang wars gamemode . Also, I am searching for developers for our server (Developers will be set as admin lvl 6 in game)



HostName: LSGW? -? Los Santos Gang Wars

Address:? 45.9.190.242:2455





Contact me: Wincenzo#1826


Shocked How to fix this bug?
Posted by: Abraar - 2021-06-19, 05:46 PM - Forum: Pawn Scripting - Replies (2)

[FIXED]


  How to Make Textdraw Can Selected Multiple page bye color with keyboard ?
Posted by: PutuSuhartawan - 2021-06-19, 01:03 AM - Forum: Pawn Scripting - No Replies

https://www.youtube.com/watch?v=62nZkPOV2Uk