Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 7,239
» Latest member: qq88ooo
» Forum threads: 2,374
» Forum posts: 12,283
Full Statistics
|
Online Users |
There are currently 365 online users. » 0 Member(s) | 363 Guest(s) Google, Bing
|
Latest Threads |
Developer for Hire – Syst...
Forum: Pawn Scripting
Last Post: ejtamovic
9 hours ago
» Replies: 0
» Views: 19
|
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
2025-06-28, 04:55 PM
» Replies: 2
» Views: 2,157
|
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
2025-06-28, 01:25 PM
» Replies: 1
» Views: 50
|
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 430
|
Want to edit my profile n...
Forum: Chat
Last Post: Hera.
2025-06-26, 08:41 PM
» Replies: 1
» Views: 566
|
Farsi
Forum: Other
Last Post: acc.gangbeni
2025-06-25, 08:21 AM
» Replies: 2
» Views: 3,070
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2025-06-22, 06:47 PM
» Replies: 0
» Views: 60
|
[Request] Linko Gaming Ro...
Forum: General Discussions
Last Post: JamesC
2025-06-20, 07:34 PM
» Replies: 0
» Views: 80
|
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
2025-06-18, 03:12 PM
» Replies: 0
» Views: 92
|
samp-cef
Forum: Questions and Suggestions
Last Post: jamespssamp
2025-06-18, 11:36 AM
» Replies: 0
» Views: 83
|
|
|
SKy Compatibility |
Posted by: Grate Maharlika - 2020-11-02, 05:45 PM - Forum: Pawn Scripting
- No Replies
|
 |
Somebody told me that the error I am facing in my SKY plugin is MSVC dll, but I don't know which one? Can you give me an specific .dll of MSVC or links? I am using Windows.
|
|
|
dialog show problem |
Posted by: byxtonim - 2020-11-02, 10:42 AM - Forum: Pawn Scripting
- No Replies
|
 |
[color=rgb( var(--theme-link) )]https://imgur.com/a/S2Bfb3f[/color]
why the dialog isn't show properly?
/matches
Code: CMD:matches(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid, 50.0, 834.6208,7.6082,1004.1870)) return SCM(playerid, -1, "Nu esti la locul potrivit!");
new szDialog[128], szDialog2[580];
strcat(szDialog2, "STATUS - TEAMS\t1\tX\t2\n");
for(new i = 0; i < 6; i)
{
teamPrize(i);
format(szDialog, sizeof(szDialog), "{fff000}{fff000}[STARTING IN %d]{ffffff} - %s vs %s\t%d.0\t%d.0\t%d.0\n", startMatchTime[i], firstTeam(i), secondTeam(i), teamPlayerPrize1[i], teamPlayerPrize2[i], teamPlayerPrize3[i]);
strcat(szDialog2, szDialog);
}
ShowPlayerDialog(playerid, DIALOG_BET, DIALOG_STYLE_TABLIST_HEADERS, "Football Matches - Betting", szDialog2, "Select", "Cancel");
return 1;
}
FIRSTTEAM, SECONDTEAM
Code: function firstTeam(team)
{
new string[128];
switch(team)
{
case 1: string = "FC Gilau West";
case 2: string = "CFR Cluj";
case 3: string = "Barcelona";
case 4: string = "Everton";
case 5: string = "Werder Bremen";
case 6: string = "Hoffenheim";
}
return 1;
}
function secondTeam(team)
{
new string[128];
switch(team)
{
case 1: string = "FC Targu Neamt";
case 2: string = "FC Botosani";
case 3: string = "Real Madrid";
case 4: string = "Manchester City";
case 5: string = "B. Monchengladbach";
case 6: string = "Augsburg";
}
return 1;
}
startmatchtime
Code: [color=#353c41][size=small][font=monospace, monospace][color=#000000]function resetTeamTimer(team)
{
?? ?new timp = 60 random(60);
?? ?startMatchTime[team] = timp;?
?? ?return 1;
}[/color][/font][/size][/color]
|
|
|
Help with mysql and data retrieving. |
Posted by: cronoxliker - 2020-11-02, 09:57 AM - Forum: Pawn Scripting
- Replies (10)
|
 |
Hey guys, Im building a gamemode mostly for learning, but i got stuck in faction systems y was following a tutorial but was on an old version and im having struggle getting it done, if someone can explainme what im doing wrong here...
Code: stock LoadFactions(/* arguments */)
{
new query[400];
for(new i = 0; i < MAX_FACTIONS; i)
{
mysql_tquery(query, "SELECT * FROM Factions WHERE ID = %d", i);
new rows, fields;
cache_get_data(rows, fields);
if(rows)
{
Total_Factions_Created;
cache_get_value_int(0,"id",Factions[i][ID]);
cache_get_value_name(0,"name",Factions[i][Name]);
cache_get_value_name(0,"type",Factions[i][Type]);
cache_get_value_name(0,"Rank1",Factions[i][Rank1]);
cache_get_value_name(0,"Rank2",Factions[i][Rank2]);
cache_get_value_name(0,"Rank3",Factions[i][Rank3]);
cache_get_value_name(0,"Rank1",Factions[i][Rank4]);
}
printf("se cargaron: %d facciones\n", Total_Factions_Created);
}
return 1;
}
|
|
|
Amx Backtrace error |
Posted by: yukie - 2020-11-02, 06:51 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hello everyone Im try to run a server using mysql r5 and everytime im joining the game it went crashing and the error was the OnFilterScriptExit on gamemode but it doesnt have that callback on my gamemode how do I fix this error??
|
|
|
Hey |
Posted by: BeckyzBoi - 2020-11-01, 03:58 AM - Forum: General Discussions
- Replies (3)
|
 |
guess the beauty of open source projects is that any vulnerabilities are discovered and fixed relatively quickly
Btw it would be nice to be able to contribute to something like this, even in some small way, which isn't as straightforward with sa-mp
|
|
|
Mitigating DDos Attacks |
Posted by: JaKe Elite - 2020-10-31, 12:19 PM - Forum: Support
- Replies (1)
|
 |
We have been under attack recently and I have no clue on how to mitigate or to reduce the effects of the DDos Attacks in the server. I have made a search on SAMP Forums (via Web Archive) and I have seen some users suggesting about configuring the Firewall of the VPS.
If anyone is so kind, can anyone guide me or tell me how do I do that??
We are currently hosting our VPS at OVH.
VPS Info:
Ubuntu 20.04
vCores 2
4GB Memory
40GB Storage?
The DDoS attack wasn't that severe the other day (the server is just causing some delays, no down at all). But the attacker decided to breach in the backend of our panel shutting it down, completely paralyzing the server (the server won't start up even if I start it in the panel (Open Game Panel)
|
|
|
Help with DM |
Posted by: DaZzY - 2020-10-29, 12:29 AM - Forum: Pawn Scripting
- Replies (4)
|
 |
Hello !?
I have created a DM on my Gamemode?
And i have idea to?add on my DM?
I want a killer on DM get a? new weapon when he kill another player?
Example Player have A Shotgun when he kill another player the killer get another weapon Sniper?
and when he kill another again he get another weapon Sawnoff ....?
I don't know how to start scripting this ...?
Can someone give me just base and some explication please :)??
its easy for me to give a player weapon on DM for second kill but hard for me to add weapon for each other kill ( thirst kill ,4 kill .... )?
|
|
|
|