SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 41
Search took 0.00 seconds.
Search: Posts Made By: OsmanMalagic
Forum: Scripting Help 02/08/2020, 05:48 AM
Replies: 8
Views: 448
Posted By OsmanMalagic
Re: Kick me my anticheats

new PlayerInfo[MAX_PLAYERS][pInfo]; // This must be defined on top of script.

ac_fpublic ac_OnCheatDetected(playerid, ip_address[], type, code)
{
if(PlayerInfo[playerid][pAdmin] < 1)
{...
Forum: Scripting Help 28/06/2020, 05:52 PM
Replies: 8
Views: 114
Posted By OsmanMalagic
Forum: Scripting Help 28/06/2020, 05:44 PM
Replies: 8
Views: 114
Posted By OsmanMalagic
Re: Custom car? Help

This is a mod for client..
You can see that on server only if the server use Custom Launcher, Launcher install mods into your GTA folder..
Otherwise other people can't still see your custom...
Forum: Scripting Help 28/06/2020, 05:29 PM
Replies: 8
Views: 114
Posted By OsmanMalagic
Re: Custom car? Help

Some people use 0.3DL for custom skins, models, etc..
In 0.3DL version you don't have possibility for custom vehicles..
Forum: Scripting Help 28/06/2020, 05:16 PM
Replies: 9
Views: 307
Posted By OsmanMalagic
Re: Socket has failed to bind on port

Now when i restart the server using panel, this message pop out in server.log
And also i tried again lsof -i:7780 and nothing happens
Forum: Scripting Help 28/06/2020, 05:06 PM
Replies: 9
Views: 307
Posted By OsmanMalagic
Re: Socket has failed to bind on port

See Attachment


When i restart the server, sometimes this work..
But then suddenly when i restart the server again i get this error in the log
Forum: Scripting Help 28/06/2020, 03:47 PM
Replies: 9
Views: 307
Posted By OsmanMalagic
Re: Socket has failed to bind on port

Refresh, the problem is not solved..
socket_listen(): Socket has failed to bind on port 9295
I tried different port, but again same problem.
Is there anybody who have experience with the socket??
Forum: Scripting Help 27/05/2020, 11:08 AM
Replies: 9
Views: 307
Posted By OsmanMalagic
Forum: Scripting Help 25/05/2020, 05:13 PM
Replies: 9
Views: 307
Posted By OsmanMalagic
Forum: Scripting Help 23/05/2020, 02:33 PM
Replies: 9
Views: 307
Posted By OsmanMalagic
Re: Socket has failed to bind on port

My server doesn't work when i kill him with Linux command, and my socket is unloaded.
I read on goo gle that I have to open the port on my machine..
"Open a TCP port on your firewall (9014 is the...
Forum: Scripting Help 23/05/2020, 01:02 PM
Replies: 9
Views: 307
Posted By OsmanMalagic
Socket has failed to bind on port

Hi, im using a socket for a small application i made for the server.

Now the problem:
First time when i run the server, all is fine, socket is connected and working.
When i restart the server,...
Forum: Screenshots and Videos 12/05/2020, 07:28 PM
Replies: 1
Views: 250
Posted By OsmanMalagic
Job Beekeeper

https://www.youtube.com/watch?v=QnSUPka-ZZQ&fbclid=IwAR1HFkhpA0SffvHZDYTUTDNN_W8QVMJ4CGWzMbtfoDPLe8LGCz--Y9Mva4U

This is presentation of Job called Beekeeper..
Your payday depends on your job...
Forum: Scripting Help 03/02/2020, 05:26 PM
Replies: 11
Views: 422
Posted By OsmanMalagic
Spray Re: MySQL load vehicles issue

enum cInfo
{
cID, // Unique ID
cCarID, // Real Car ID goes from 1 to 1000 through loop carinfo
cModel,
Float:cLocationx,
Float:cLocationy,
Float:cLocationz,
Float:cAngle,
cColorOne,
Forum: Scripting Help 03/02/2020, 03:16 PM
Replies: 11
Views: 422
Posted By OsmanMalagic
Re: MySQL load vehicles issue

I have 2 variable for vehicles.

First is:
new ownedcar[sizeof(CarInfo)];

Second is when i buy the car

new car = 1;
for(new h = 1; h < sizeof(CarInfo); h++)
{
Forum: Scripting Help 03/02/2020, 11:55 AM
Replies: 8
Views: 198
Posted By OsmanMalagic
Re: string / integer

Do you speak for this:

new Number;
new string[128];

if(Number == 0)
{
format(string, sizeof(string), "Number is none");
SCM(playerid, -1, string);
}
Forum: Scripting Help 03/02/2020, 11:30 AM
Replies: 8
Views: 198
Posted By OsmanMalagic
Re: string / integer

I don't understand what do you mean, you want string to integer or vice versa?
Forum: Scripting Help 03/02/2020, 10:51 AM
Replies: 11
Views: 422
Posted By OsmanMalagic
Re: MySQL load vehicles issue

Again same..
Vehicle ID is 503 not ID 1.




Hm, I loading private vehicles first, then all others, that is not a problem.
I store Vehicle Number into my database and then using that Vehicle...
Forum: Scripting Help 03/02/2020, 08:45 AM
Replies: 2
Views: 201
Posted By OsmanMalagic
Re: Getting cords for /siren

Use texture studio for that, you can attach any object to vehicle.
Forum: Scripting Help 03/02/2020, 08:09 AM
Replies: 2
Views: 103
Posted By OsmanMalagic
Re: VIP Timer Help!

Did you try this ?

if(smonth == 1)//1 month VIP
{
if(lmonth == 1 && lday == 30)//January 30
{
lday = 29; // 29 days
pInfo[targetid][vMonth] = 2;//Making it February...
Forum: Scripting Help 03/02/2020, 06:23 AM
Replies: 5
Views: 318
Posted By OsmanMalagic
Re: Server optimization

My suggestion:

- Optimize your database.
- Fix errors/warnings in server_log.txt and mysql_log.txt...
- Fix bugged/removed fields, tables and queries.
- Remove unnecessary codes from TIMERS.
-...
Forum: Scripting Help 31/01/2020, 09:15 PM
Replies: 11
Views: 422
Posted By OsmanMalagic
Re: MySQL load vehicles issue

If i delete break; Server spawn me 1000 same vehicles in my area, which cause massive lag.
Of course i use new CarInfo[600][cInfo];
My old loading sistem on y_ini going like this

for(new h = 1;...
Forum: Scripting Help 31/01/2020, 08:21 PM
Replies: 11
Views: 422
Posted By OsmanMalagic
Re: MySQL load vehicles issue

Again same..
Vehicle ID is 503 not ID 1.
In my Table on MySQL vehicle ID is 1, but on server it's not.
Forum: Scripting Help 31/01/2020, 12:44 PM
Replies: 11
Views: 422
Posted By OsmanMalagic
MySQL load vehicles issue

Hi guys, i have one issue with my Vehicles.
I created saving system using MySQL but my loading system not working properly.
Vehicle ID must be 1 because the car is private, and ID must go from 1 to...
Forum: Screenshots and Videos 03/05/2019, 02:49 PM
Replies: 0
Views: 1,131
Posted By OsmanMalagic
NooBot Copy - Global Update #1

http://y2u.be/OtGRyv6PrbA
Forum: Screenshots and Videos 03/12/2018, 07:39 PM
Replies: 7
Views: 1,093
Posted By OsmanMalagic
Cool Re: We go to MARS X and Presentation Burger Shot

Mars is limited, so you can not go out of the desert.
You always return to the desert (mars) if you try to get out of it. Players with this limit can not see whether this is a common desert or not :D
Showing results 1 to 25 of 41

 

All times are GMT. The time now is 04:09 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.