| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 7,692
» Latest member: thomasjoe
» Forum threads: 2,353
» Forum posts: 12,300
Full Statistics
|
| Online Users |
There are currently 326 online users. » 0 Member(s) | 324 Guest(s) Bing, Google
|
| Latest Threads |
รวมเพื่อนใหม่ในย่านสมุทรป...
Forum: Chat
Last Post: thomasjoe
52 minutes ago
» Replies: 0
» Views: 6
|
LS City Hall
Forum: Maps
Last Post: cosminupgaming
Yesterday, 04:22 PM
» Replies: 3
» Views: 2,640
|
Crime Base
Forum: Maps
Last Post: cosminupgaming
Yesterday, 04:19 PM
» Replies: 2
» Views: 1,240
|
GTA SA-MP Scripting: Issu...
Forum: General Discussions
Last Post: williamrhein
Yesterday, 10:16 AM
» Replies: 0
» Views: 25
|
is it worth creating a se...
Forum: General Discussions
Last Post: cosminupgaming
2025-11-11, 05:30 PM
» Replies: 13
» Views: 18,286
|
Looking for an English De...
Forum: General Discussions
Last Post: cosminupgaming
2025-11-11, 05:21 PM
» Replies: 2
» Views: 2,796
|
Awakeninga an old server.
Forum: Support
Last Post: drwnrbbt
2025-11-11, 02:26 PM
» Replies: 0
» Views: 27
|
Starting a RP Server
Forum: General Discussions
Last Post: JakeFalcone
2025-11-11, 01:58 AM
» Replies: 0
» Views: 40
|
Wanting to Start a RP Ser...
Forum: Chat
Last Post: JakeFalcone
2025-11-11, 01:56 AM
» Replies: 0
» Views: 45
|
Adding new vehicles and s...
Forum: Support
Last Post: HELLHOUND
2025-11-10, 10:49 PM
» Replies: 3
» Views: 914
|
|
|
How can I position the camera in front of the vehicle? |
|
Posted by: Next - 2021-07-18, 11:55 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
I'm trying to make a system where I need to position the camera in front of the vehicle so that it "points" to the vehicle without setting the coordinates in an array, having a "radius" using a GetVehicleModelInfo function.
I managed to do a function where I can get the front of the vehicle using some calculations. But I can't point the camera at the vehicle at the right angle.
PHP Code: GetVehicleFront(vehicleid, &Float:x, &Float:y)
{
? ? new Float:a, Float:fSize[3];
? ? GetVehiclePos(vehicleid, x, y, a);
? ? GetVehicleZAngle(vehicleid, a);
? ? GetVehicleModelInfo(GetVehicleModel(vehicleid), VEHICLE_MODEL_INFO_SIZE, fSize[0], fSize[1], fSize[2]);
? ? x = (/* radius using fSize? (about 7.5) */ * floatsin(-a, degrees));
? ? y = (/* radius using fSize? (about 7.5) */ * floatcos(-a, degrees));
? ? return 1;
}
btw, is this function correct??
|
|
|
|
| Help!Restrict player chat |
|
Posted by: Jian_han - 2021-07-18, 05:16 AM - Forum: Pawn Scripting
- Replies (2)
|
 |
such as
Players are forbidden to send a message containing fu?k
Not sent fuck, but included ?f?ck?. I will thank you very much,
I am noob,pls?Please give me a complete document?
I very need it!!!!?
thank you
|
|
|
|
| CCRP Five M Concept Script FULL |
|
Posted by: Nick MFRP - 2021-07-17, 06:51 AM - Forum: Gamemodes
- No Replies
|
 |
Download Now? ??
??????????????
CCRP? ? ? ? ???=? ? ???http://www.mediafire.com/file/imkxzar1ba9q08i/CCRP.1.zip/file
Latest PWN? =? ? ? ??http://www.mediafire.com/file/q5j2tdhwzbbydp7/roleplay2.pwn/file
|
|
|
|
Keybinds |
|
Posted by: GeorgeXCarl - 2021-07-17, 04:17 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
is there any way i can detect other keybinds for?example
Code: public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
? ? ?if((newkeys & KEY_P) || (newkeys & KEY_Z))
? ? ?{
? ? ? ? ? // which is detecting the key "P" or key "Z"
? ? ?}
? ? ?return 1;
}
|
|
|
|
| how to get the last digit of a player's IP |
|
Posted by: mems - 2021-07-15, 09:38 PM - Forum: Pawn Scripting
- Replies (16)
|
 |
hello,
title simply says it all but i'm going to elaborate a bit. i'm trying to make an anti proxy system and so far it works. however i want to whitelist ips like 192.168.1.1 until 192.168.1.255. however, it seems like i dont know how, even though i tried so many times with different approaches such as strfind, strlen, strdel but these didnt help me out either probably because the way i did it didn't work. well here's the code:
Code: forward httpResponse(playerid, response_code, data[]);
public httpResponse(playerid, response_code, data[])
{
new name[MAX_PLAYERS], string[192], ipstring[64];
new ip[16];
GetPlayerName(playerid, name, sizeof(name));
GetPlayerIp(playerid, ip, sizeof(ip));
format(ipstring, sizeof(string), "192.168.1.%d", strlen(ip) - 13);
if(strcmp(ip, "127.0.0.1", true) == 0 || strcmp(ip, ipstring, true) == 0)
{
printf("%s(%d) IP(%s) is a LAN type, therefore able to enter the server.", name, playerid, ip);
return 1;
}
// If the site sends an OK message
if(response_code == 200)
{
// If a player is using VPN
if(data[0] == 'Y')
{
format(string, sizeof(string), "ANTI VPN: %s(%d) has been kicked from the server due to VPN usage.", name, playerid);
SendClientMessageToAll(COLOR_RED, string);
printf("%s(%d) IP(%s) is not legit, therefore not able to enter the server.", name, playerid, ip);
//SetTimerEx("DelayKick", 100, false, "i", playerid);
}
// If not
if(data[0] == 'N')
{
printf("%s(%d) IP(%s) is legit, therefore able to enter the server.", name, playerid, ip);
// OnPlayerConnect welcome messages should handle this
}
// Failsafe. Should not trigger
if(data[0] == 'X')
{
printf("From the site: Wrong IP format!");
}
} else {
printf("The request failed! The response code was: %d", response_code);
}
return 1;
}
much appreciated if anyone could help, ive been trying to fix this issue for like hours.
edit: i could do it the worst way which is: Code: if(strcmp(ip, "192.168.1.1", true) == 0)
then 192.168.1.2 and so on but it sucks
|
|
|
|
| The open.mp should be released |
|
Posted by: NoxxeR - 2021-07-15, 10:03 AM - Forum: Questions and Suggestions
- Replies (15)
|
 |
Even though some people think open.mp will not be good, this thread for example: https://www.burgershot.gg/showthread.php?tid=464
I think the open.mp team should release a version, here is the reason:
Sa-mp is more stable than MTA, i've played mta years ago, and it crashes more than sa-mp.
Open-mp has backward compatibility, thats something awesome and good.
Sa-mp has more servers than MTA:SA and this should be released.
-
Hows the progress on open.mp? When will a release be expected? This game is so awesome, and its not getting old by days.
// NoxxeR
|
|
|
|
| Failed To Start Server |
|
Posted by: RainG - 2021-07-15, 05:05 AM - Forum: Support
- Replies (3)
|
 |
Code: SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[12:55:14] filterscripts = ""? (string)
[15/07/2021 12:55:14]
[15/07/2021 12:55:14] Server Plugins
[15/07/2021 12:55:14] --------------
[15/07/2021 12:55:14]? Loading plugin: crashdetect
[15/07/2021 12:55:14]? crashdetect v4.8.3 is OK.
[15/07/2021 12:55:14]? Loaded.
[15/07/2021 12:55:14]? Loading plugin: socket
[15/07/2021 12:55:14]? Failed.
[15/07/2021 12:55:14]? Loading plugin: mysql
[15/07/2021 12:55:14]
? > MySQL plugin R5 successfully loaded.
[15/07/2021 12:55:14]? Loaded.
[15/07/2021 12:55:14]? Loading plugin: sscanf
[15/07/2021 12:55:14]
[15/07/2021 12:55:14]? ===============================
[15/07/2021 12:55:14]? ? ? sscanf plugin loaded.? ?
[15/07/2021 12:55:14]? ? ? ? ? Version:? 2.8.3? ? ? ?
[15/07/2021 12:55:14]? (c) 2018 Alex "Y_Less" Cole?
[15/07/2021 12:55:14]? ===============================
[15/07/2021 12:55:14]? Loaded.
[15/07/2021 12:55:14]? Loading plugin: streamer
[15/07/2021 12:55:14]
*** Streamer Plugin v2.9.5 by Incognito loaded ***
[15/07/2021 12:55:14]? Loaded.
[15/07/2021 12:55:14]? Loading plugin: Whirlpool
[15/07/2021 12:55:14]?
[15/07/2021 12:55:14]? ==================
[15/07/2021 12:55:14]?
[15/07/2021 12:55:14]? Whirlpool loaded
[15/07/2021 12:55:14]?
[15/07/2021 12:55:14]? ==================
[15/07/2021 12:55:14]?
[15/07/2021 12:55:14]? Loaded.
[15/07/2021 12:55:14]? Loaded 5 plugins.
[15/07/2021 12:55:14]
[15/07/2021 12:55:14] Filterscripts
[15/07/2021 12:55:14] ---------------
[15/07/2021 12:55:14]? Loaded 0 filterscripts.
[15/07/2021 12:55:14] AMX (45873712) loaded
[15/07/2021 12:55:14] [debug] Run time error 19: "File or function is not found"
[15/07/2021 12:55:14] [debug]? socket_sendto_remote_client
[15/07/2021 12:55:14] [debug]? socket_close_remote_client
[15/07/2021 12:55:14] [debug]? socket_create
[15/07/2021 12:55:14] [debug]? is_socket_valid
[15/07/2021 12:55:14] [debug]? socket_set_max_connections
[15/07/2021 12:55:14] [debug]? socket_listen
[15/07/2021 12:55:14] [debug]? socket_destroy
[15/07/2021 12:55:14] Script[gamemodes/MHRP.amx]: Run time error 19: "File or function is not found"
[15/07/2021 12:55:14] Number of vehicle models: 0
Code: echo Executing Server Config...
lanmode 0
rcon_password yhRe53Y5hrS
maxplayers 200
port 7777
hostname Money Heist Roleplay
gamemode0 MHRP
filterscripts
plugins crashdetect socket mysql sscanf streamer Whirlpool
announce 0
query 1
weburl mh-roleplay.com
mapname San Andreas
language English
maxnpc 0
onfoot_rate 50
incar_rate 50
weapon_rate 50
stream_distance 200.0
stream_rate 2000
logtimeformat [%d/%m/%Y %H:%M:%S]
rcon 0
|
|
|
|
| The new sa-mp modification |
|
Posted by: NoxxeR - 2021-07-13, 09:07 PM - Forum: General Discussions
- Replies (4)
|
 |
Hi everyone!
Since partyserver went down on sa-mp, people been playing other games, but what happend to sa-mp forums? They were gone as well.
Lots of people miss the old partyserver. Now this modification existed and is backwards compatible with sa-mp.
Then Open.mp came along, but I cant find the partyserver on this application either.
Will open.mp replace the old sa-mp client? Or what will happen? I just wanna understand since lots of players miss the old server.
It's the real noxxer, so I miss how we trolled back then in partyserver, we have had good times in the servers since 2008, trolling and having fun with the game.
I just need to understand what happend to partyserver and to this new sa-mp client?
|
|
|
|
|