| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 8,086
» Latest member: picxii
» Forum threads: 2,433
» Forum posts: 12,452
Full Statistics
|
| Online Users |
There are currently 170 online users. » 0 Member(s) | 167 Guest(s) Applebot, Bing, Google
|
| Latest Threads |
SAMPHUB.
Forum: Spanish/Español
Last Post: picxii
Yesterday, 02:14 PM
» Replies: 19
» Views: 41,315
|
Project: LAS VENTURAS ROL...
Forum: Advertisements
Last Post: Kremzy
2026-04-15, 12:49 AM
» Replies: 0
» Views: 53
|
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
2026-04-12, 11:29 PM
» Replies: 15
» Views: 3,617
|
Classic Party Server [ENG...
Forum: Advertisements
Last Post: GPCServ
2026-04-11, 10:12 PM
» Replies: 0
» Views: 140
|
Valrise RPG (PC/Android)
Forum: Advertisements
Last Post: Habshi
2026-04-08, 10:46 AM
» Replies: 0
» Views: 92
|
UZS Zombie Survival
Forum: Advertisements
Last Post: phnx
2026-04-04, 05:32 PM
» Replies: 0
» Views: 88
|
FCNPC for open.mp
Forum: Pawn Scripting
Last Post: mentaletion
2026-04-01, 12:28 PM
» Replies: 7
» Views: 7,551
|
Samp development
Forum: Chat
Last Post: pmemorex2016
2026-03-31, 09:57 AM
» Replies: 0
» Views: 159
|
Pawno compiler (pawncc.ex...
Forum: Support
Last Post: PutuSuhartawan
2026-03-20, 11:12 PM
» Replies: 0
» Views: 203
|
[0.3.7 & 0.3.DL] Los Sant...
Forum: Advertisements
Last Post: renza1st
2026-03-16, 05:58 AM
» Replies: 0
» Views: 139
|
|
|
| add, subtract |
|
Posted by: ZyZu. - 2021-11-13, 01:22 AM - Forum: Pawn Scripting
- Replies (2)
|
 |
I haven't did any coding over 4-5 years now. Anyways I decided to start working on my gamemode again. I used to have an include to add, subtract, divide, multiply stocks. Does anyone has this include? I have to find all the plugins and includes but since the main forum is down everything is hard to find. Thanks.
Code: subtract(cash, amount[1])
Code: stock GivePlayerCash(playerid, amount[]) {
static cash[256];
GetPVarString(playerid, "pMoney", cash, 256);
if(strfind(amount, "-") == 0) SetPVarString(playerid, "pMoney", subtract(cash, amount[1]));
else SetPVarString(playerid, "pMoney", add(cash, amount));
return 1;
}
|
|
|
|
| record time |
|
Posted by: Zow - 2021-11-12, 11:05 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
PHP Code: main() {
SetTimer("update", 10, true);
}
ReturnTime(timevariable)
//Used in the OnPlayerEnterRaceCheckpoint code.
{
? ? new milliseconds = timevariable, string[20];
? ? while(milliseconds > 999)
? ? {
? ? ? ? //Add to the seconds variable
? ? ? ? milliseconds = milliseconds - 10;
? ? ? ? //Take away 10 from the ms variable
? ? }
? ? format(string, sizeof(string), "%05d", milliseconds);
? ? return string;
}
Quote:00588
00589
00590
00591
00592
00593
00594
00595
00596
00597
00598
00599
I just want them to be like this?https://youtu.be/v62Gt38ngzM?t=28
![[Image: unknown.png]](https://media.discordapp.net/attachments/791369434685636658/908849491862515772/unknown.png)
7.865 second
Any help please
|
|
|
|
| Weapon-config.inc |
|
Posted by: AlCapone - 2021-11-07, 10:54 AM - Forum: Pawn Scripting
- Replies (3)
|
 |
Hey all, i hope everyone is doing well, please i need a?tutorial to add " weapon-config.inc " to my script...?https://github.com/oscar-broman/samp-weapon-config
if anyone can help me plss
|
|
|
|
| Erro ao compilar GM VSCode |
|
Posted by: Jhames - 2021-10-30, 07:50 PM - Forum: Portuguese/Português
- No Replies
|
 |
O que pode ser esse erro ?
Code: > Executing task in folder GFRJ: C:\Users\Telzi\Desktop\GFRJ\pawno\pawncc.exe 'c:\Users\Telzi\Desktop\GFRJ\gamemodes\gtafaccoesbr.pwn' '-Dc:\Users\Telzi\Desktop\GFRJ\gamemodes' '-;' '-(' '-d3' <
Pawn compiler 3.10.10? ? ? ? ? ? ? ? ? Copyright (c) 1997-2006, ITB CompuPhase
O processo de terminal "C:\Program Files\PowerShell\7\pwsh.exe -Command C:\Users\Telzi\Desktop\GFRJ\pawno\pawncc.exe 'c:\Users\Telzi\Desktop\GFRJ\gamemodes\gtafaccoesbr.pwn' '-Dc:\Users\Telzi\Desktop\GFRJ\gamemodes' '-;' '-(' '-d3'" foi terminado com o c?digo de sa?da: 1.
O terminal ser? reutilizado por tarefas, pressione qualquer tecla para fech?-lo.
|
|
|
|
| Help me error compiling gamemode in VSCODE |
|
Posted by: Jhames - 2021-10-30, 07:47 PM - Forum: Pawn Scripting
- No Replies
|
 |
Code: > Executing task in GFRJ folder: C:\Users\Telzi\Desktop\GFRJ\pawno\pawncc.exe 'c:\Users\Telzi\Desktop\GFRJ\gamemodes\gtafaccoesbr.pwn' '-Dc:\Users\Telzi\ Desktop\GFRJ\gamemodes' '-;' '-(' '-d3' <
Pawn compiler 3.10.10 Copyright (c) 1997-2006, ITB CompuPhase
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command C:\Users\Telzi\Desktop\GFRJ\pawno\pawncc.exe 'c:\Users\Telzi\Desktop\GFRJ \gamemodes\gtafaccoesbr.pwn' '-Dc:\Users\Telzi\Desktop\GFRJ\gamemodes' '-;' '-(' '-d3'" was terminated with exit code: 1.
The terminal will be reused by tasks, press any key to close it.
|
|
|
|
|