SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Symon
Forum: Scripting Help 26/06/2020, 03:13 PM
Replies: 5
Views: 108
Posted By Symon
Re: Unix to human time

What do i have to place in year, month and so on? I just got the unix timestamp.



Thanks but i don't wanna add an extra include for just a function that i'll use once.
Forum: Scripting Help 26/06/2020, 11:30 AM
Replies: 5
Views: 108
Posted By Symon
Unix to human time

Hello, in my script i save the registration date as unix timestamp, I now want it to show in /stats command in a human readable date. Is there a way to convert this unix timestamp to something like:...
Forum: General 19/06/2020, 10:01 PM
Replies: 41
Views: 2,369
Posted By Symon
Forum: Scripting Help 19/06/2020, 08:20 PM
Replies: 5
Views: 116
Posted By Symon
Re: compiler takes too long to compile

My CNR server had more than 35k lines and took just 5 seconds to compile. There's something wrong with your script.
Forum: Scripting Help 19/06/2020, 08:18 PM
Replies: 2
Views: 77
Posted By Symon
Re: Detect if vehicle is in the checkpoint

You could use this: https://wiki.sa-mp.com/wiki/OnUnoccupiedVehicleUpdate
Forum: General 19/06/2020, 03:28 PM
Replies: 41
Views: 2,369
Posted By Symon
Re: [Development] SA:MP Luftschlacht - strategic WW2 Gameplay

No, i meant this:

https://i.ibb.co/Thxjv5Q/Day13.png
Forum: General 19/06/2020, 11:44 AM
Replies: 41
Views: 2,369
Posted By Symon
Re: [Development] SA:MP Luftschlacht - strategic WW2 Gameplay

How do you managed to create that single player left box? I know it's made with textdraws but how? Which size and color?
Forum: Scripting Help 17/06/2020, 07:19 PM
Replies: 6
Views: 156
Posted By Symon
Re: Mode spawn

@NaS: Thanks, the SpawnPlayer trick worked, i've also tried to respawn and it sets the mode correctly. And for resetting weps and armour i do already in ProcessModeSpawn, is it correct?
...
Forum: Scripting Help 17/06/2020, 01:46 PM
Replies: 6
Views: 156
Posted By Symon
Re: Mode spawn

I don't understand, removing ProcessModeSpawn wouldn't respawn the player correctly based on the selected city?

Or if you want, show me an example.
Forum: Scripting Help 17/06/2020, 01:29 PM
Replies: 6
Views: 156
Posted By Symon
Mode spawn

Hello, i have a dialog which allow players join Freeroam mode and select custom spawn city (LS, SF or LV), but there's a problem with the spawn.

This is what happens when a player selects the city...
Forum: Scripting Help 15/06/2020, 09:32 PM
Replies: 3
Views: 92
Posted By Symon
Re: error 029: invalid expression, assumed zero

You can't put ; after an if to close it. You should add some code to execute between the condition.
Forum: Client Support 10/06/2020, 10:28 AM
Replies: 2
Views: 234
Posted By Symon
Re: Thread

Probably has been moved or deleted.
Forum: Scripting Help 04/06/2020, 08:55 PM
Replies: 2
Views: 98
Posted By Symon
Forum: Scripting Help 02/06/2020, 07:13 PM
Replies: 6
Views: 174
Posted By Symon
Re: Help with preview model textdraw

1st pic: When you order something online
2nd pic: When you receive it
Forum: Scripting Help 26/05/2020, 07:51 PM
Replies: 33
Views: 920
Posted By Symon
Re: Data being reset when connecting to server.

I don't understand, why are you resetting data when a player connect to reload them after login?

I suggest you to move the reset code you have in OnPlayerConnect and place it BEFORE the...
Forum: Scripting Help 26/05/2020, 07:47 PM
Replies: 4
Views: 144
Posted By Symon
Re: MYSQL Admin Log problem

If you have an users table i suppose do you have an array/enum to store player's data too, something like PlayerInfo, yes.

Set the admin level you wish in database or with something like:

...
Forum: Scripting Help 26/05/2020, 07:45 PM
Replies: 7
Views: 131
Posted By Symon
Re: Sublime Text 3

What's that (ccccc)? Are you using a sort of centered dialog text?
Forum: Scripting Help 19/05/2020, 04:35 PM
Replies: 14
Views: 273
Posted By Symon
Re: MYSQL Problem

The error is clear more than the water.

You have to update database connection info too to make it work.

Host should be localhost or 127.0.0.1, user should be root and password must be blank.
Forum: Scripting Help 19/05/2020, 01:29 PM
Replies: 14
Views: 273
Posted By Symon
Re: MYSQL Problem

What the hell are you all saying? The problem is not the plugin it self or the include, the problem is the login/register code how it's made!

mysql_num_rows and similar are from R6! Obviously it...
Forum: Scripting Help 02/05/2020, 04:48 PM
Replies: 5
Views: 143
Posted By Symon
Re: [HELP] Making server

He's not asking for gamemodes, he's asking how to continue his gamemode by adding features.

@OP: I suggest you to read the tutorial board where you can find a lot of useful informations:
...
Forum: Filterscripts 29/04/2020, 12:56 PM
Replies: 9
Views: 973
Posted By Symon
Re: SiAdmin v0.1.0 [FOR BEGINNERS]

1) In 2 hours you can script a good administration system, it's not the time you spent but HOW you spent that time to make something.
2) Don't teach beginners to use your code because it's a...
Forum: Filterscripts 29/04/2020, 10:56 AM
Replies: 9
Views: 973
Posted By Symon
Re: SiAdmin v0.1.0 [FOR BEGINNERS]

Not to being rude or whatever, but this can't be called an administration system.

Starting from anti tuning hack to health hack check, code is badly optimized and repeated. Seems like we're back...
Forum: Scripting Help 26/04/2020, 09:19 AM
Replies: 8
Views: 209
Posted By Symon
Re: Commands efficiency, health of the server, questions.

First of all. Go to sa-mp.com/download.php and download latest server package. Then grab zcmd, MySQL plugin (R41-4 obv), sscanf and crashdetect. You don't need streamer unless you want to play with...
Forum: Filterscripts 26/04/2020, 09:11 AM
Replies: 16
Views: 2,923
Posted By Symon
Re: DChat - Discord IRC System

The not sending message problem was related to "".

I've removed it and works. I don't know why.
Forum: Filterscripts 22/04/2020, 09:03 AM
Replies: 16
Views: 2,923
Posted By Symon
Re: DChat - Discord IRC System

I have a problem, i don't know if this is a bug or what, but it doesn't echo the ingame chat.

OnPlayerText


new msg[150];
format(msg, sizeof(msg), "``` %s (%d): %s```",...
Showing results 1 to 25 of 500

 

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


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