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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,513
» Latest member: Young Harmoni
» Forum threads: 2,235
» Forum posts: 12,037

Full Statistics

Online Users
There are currently 381 online users.
» 0 Member(s) | 378 Guest(s)
Bing, Google, Yandex

Latest Threads
High-Precision Laser Weld...
Forum: General Discussions
Last Post: Young Harmoni
2 hours ago
» Replies: 0
» Views: 7
Interesting
Forum: Chat
Last Post: Gerty23461
5 hours ago
» Replies: 1
» Views: 11
I humor myself
Forum: Programming
Last Post: nami16504
Yesterday, 04:28 PM
» Replies: 5
» Views: 8,056
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
2024-11-23, 06:36 PM
» Replies: 0
» Views: 44
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 44
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 61
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 474
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 56
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 77
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 65

 
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: Programming - 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


  samp.ban
Posted by: pushline - 2021-06-18, 10:08 PM - Forum: Portuguese/Portugu?s - Replies (1)

Meu comando de ban adiciona um arquivo .ini (dof2) numa pasta bans e ipbans, e adiciona o IP na samp.ban.?



Eu quero desativar que o comando ban adicione o ip na samp.ban



C?digo



PHP Code:
#define Ban(%0) SetTimerEx("Banir", 200, false, "i", %0)



function::Banir(playerid) {

#undef Ban

Ban(playerid);

#define Ban(%0) SetTimerEx("Banir", 200, false, "i", %0)

return 1;

}



CMD:banir(playeridparams[])

{

if (!
APlayerData[playerid][pLogged])

? ? return 
SendClientMessage(playeridCOLOR_GRAD1" Voc? n?o est? logado.");

? ? if (
APlayerData[playerid][pAdmin] < 1)

? ? ? ? return 
SendClientMessage(playeridCOLOR_GRAD1"? Voc? n?o ? um administrador.");



? ? new 
idReasonBan1[30], Stringa[156];

? ? if (
sscanf(params"us[30]"idReasonBan1))

? ? ? ? return 
SendClientMessage(playeridCOLOR_GRAD1" (DICA): Use (/ban) [ID/Parte do nome] [Reason]");

? ? 

? ? if (
APlayerData[id][pLogged] > APlayerData[playerid][pLogged])

? ? ? ? return 
SendClientMessage(playeridCOLOR_GRAD1"? Voc? n?o pode banir um administrador de n?vel maior que o seu.");



? ? if (
id == playerid)

? ? ? ? return 
SendClientMessage(playeridCOLOR_GRAD1"Voc? n?o pode banir a si mesmo");



if(
APlayerData[playerid][pAdmin] > 0)

{

? ? 
DOF2_CreateFile(GetBanFile(id));

? ? 
DOF2_SetString(GetBanFile(id), "Name"pName[id]);

? ? 
DOF2_SetString(GetBanFile(id), "Admin"pName[playerid]);

? ? 
DOF2_SetString(GetBanFile(id), "Reason"ReasonBan1);

? ? 
DOF2_SetString(GetBanFile(id), "Date"GetDate());

? ? 
DOF2_SetString(GetBanFile(id), "IP"pIP[id]);

? ? 
DOF2_SaveFile();



? ? 
DOF2_CreateFile(GetIPFile(id));

? ? 
DOF2_SetString(GetIPFile(id), "Name"pName[id]);

? ? 
DOF2_SetString(GetIPFile(id), "Admin"pName[playerid]);

? ? 
DOF2_SetString(GetIPFile(id), "Reason"ReasonBan1);

? ? 
DOF2_SetString(GetIPFile(id), "Date"GetDate());

? ? 
DOF2_SetString(GetIPFile(id), "IP"pIP[id]);

? ? 
DOF2_SaveFile();



? ? ? ? 
format(Stringasizeof(Stringa), "%s %s baniu o player %s, motivo: %s",AdmCargo[APlayerData[playerid][pAdmin]], pName[playerid], pName[id], ReasonBan1);

? ? 
SendClientMessageToAll(COLOR_LIGHTREDStringa);



? ? 
format(Stringasizeof(Stringa), "BanLog: %s foi banido pelo admin %s, motivo: %s (%s)"pName[id], pName[playerid], ReasonBan1GetDate());

? ? 
BanLog(Stringa);



Ban(id);

}

else if(
APlayerData[playerid][pAdminTemp] > 0)

{

? ? 
DOF2_CreateFile(GetBanFile(id));

? ? 
DOF2_SetString(GetBanFile(id), "Name"pName[id]);

? ? 
DOF2_SetString(GetBanFile(id), "Admin"pName[playerid]);

? ? 
DOF2_SetString(GetBanFile(id), "Reason"ReasonBan1);

? ? 
DOF2_SetString(GetBanFile(id), "Date"GetDate());

? ? 
DOF2_SetString(GetBanFile(id), "IP"pIP[id]);

? ? 
DOF2_SaveFile();



? ? 
DOF2_CreateFile(GetIPFile(id));

? ? 
DOF2_SetString(GetIPFile(id), "Name"pName[id]);

? ? 
DOF2_SetString(GetIPFile(id), "Admin"pName[playerid]);

? ? 
DOF2_SetString(GetIPFile(id), "Reason"ReasonBan1);

? ? 
DOF2_SetString(GetIPFile(id), "Date"GetDate());

DOF2_SetString(GetIPFile(id), "IP"pIP[id]);

? ? 
DOF2_SaveFile();



? ? ? ? 
format(Stringasizeof(Stringa), "%s %s baniu o player %s, motivo: %s"AdmCargo[APlayerData[playerid][pLogged]], pName[playerid], pName[id], ReasonBan1);

? ? 
SendClientMessageToAll(COLOR_LIGHTREDStringa);



? ? 
format(Stringasizeof(Stringa), "BanLog: %s foi banido pelo admin %s, motivo: %s (%s)"pName[id], pName[playerid], ReasonBan1GetDate());

? ? 
BanLog(Stringa);



? ? ? ? 
Ban(id);

}

? ? return 
1;



  How to save player stats in mysql?
Posted by: CrypticSin - 2021-06-16, 10:15 PM - Forum: Pawn Scripting - Replies (3)

Hi, i need help with saving player stats like kills, deaths, health etc in mysql.



I've created columns for them on php myadmin using xampp?but i dont know how to input them into code on Pawn.



Any help would be appreciated.