SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Symon
Forum: Scripting Help 07/12/2019, 01:56 AM
Replies: 4
Views: 171
Posted By Symon
Re: dialog stats

No, no, just no!

What if he has 50 things to read from stats? There is no need to declare a variable for each item in the enum!

Just read them directly, that's what enums are for.
Forum: Scripting Help 07/12/2019, 12:01 AM
Replies: 5
Views: 126
Posted By Symon
Re: House dont save

What about posting some code?
Forum: Scripting Help 04/12/2019, 07:39 PM
Replies: 8
Views: 265
Posted By Symon
Re: Set Player Name Color

And use switch instead of all that "if" mess.
Forum: General 03/12/2019, 07:50 PM
Replies: 18
Views: 1,091
Posted By Symon
Re: your dream rp project?

Problem is there are too many RP servers and everything has been already seen.

You must think out of the box, make a scheme. Open a text file and write a roadmap.

Write everything that comes...
Forum: General 03/12/2019, 07:28 PM
Replies: 18
Views: 1,091
Posted By Symon
Re: your dream rp project?

Intende i piani per il tuo server, cosa avevi giÓ in mente?

Btw, i don't have a "dream rp" project, or question is not clear enough to answer.
Forum: Scripting Help 03/12/2019, 02:30 PM
Replies: 14
Views: 447
Posted By Symon
Re: Fetch offline and online players

Why your name isn't coloured in blue yet? You have damn a lot of patience.

@OP: Next time switch to MySQL.
Forum: General 03/12/2019, 11:32 AM
Replies: 10
Views: 788
Posted By Symon
Re: real/strict realistic roleplay or more fun?

Life is already hard, no need to add more rules with strict and realistic roleplay, imho.

I prefer "light" ones, where i don't have to roleplay even if i move my left hand.
Forum: Screenshots and Videos 03/12/2019, 11:22 AM
Replies: 4
Views: 521
Posted By Symon
Forum: Scripting Help 03/12/2019, 11:09 AM
Replies: 16
Views: 325
Posted By Symon
Re: Crash on editing objects

Do you have the crashdetect plugin? Also try to look inside error log file (the one generated by MySQL).
Forum: Scripting Help 03/12/2019, 11:00 AM
Replies: 16
Views: 325
Posted By Symon
Re: Crash on editing objects

Could you try to post just affected lines?
Forum: Scripting Help 03/12/2019, 10:58 AM
Replies: 2
Views: 113
Posted By Symon
Re: Move from STRCMP to DC_CMD

What's the point of adding a IsPlayerConnected check in the /cambiarc command? If i'm not online obviously i can't type any command.

I don't know DC_CMD but i think it works just like zcmd or...
Forum: Scripting Help 03/12/2019, 10:56 AM
Replies: 3
Views: 177
Posted By Symon
Re: Problem trying to put server online with OVH VPS

You have to execute the command inside the samp03svr folder (using cd samp03svr). The log speaks clearly, it doesn't find the sam03svr directory or any file inside it.
Forum: Scripting Help 03/12/2019, 10:54 AM
Replies: 4
Views: 148
Posted By Symon
Re: How to save damage on player vehicle after player dissconected?

Do you have already a vehicle system? If so, it's easy. Just use GetVehicleHealth on disconnect and SetVehicleHealth when spawning again the vehicle.
Forum: Scripting Help 03/12/2019, 10:51 AM
Replies: 2
Views: 97
Posted By Symon
Re: Location Display Help

Probably the GetPlayerInterior check as ShadowMortar said.
If you are already setting the interior name inside OnPlayerPickUpPickup, there's no need for the interior check in Zones Update. Or you...
Forum: Scripting Help 03/12/2019, 10:47 AM
Replies: 16
Views: 325
Posted By Symon
Re: Crash on editing objects

Without a piece of code we can't help you. Post your OnPlayerEditAttachedObject code and the crashdetect log (if you have it).
Forum: Scripting Help 03/12/2019, 10:45 AM
Replies: 6
Views: 151
Posted By Symon
Re: [Dialog Styles] Formatting

As im not wrong, this type of formatting works even with DIALOG_STYLE_MSGBOX. You have to work a bit with \t and \n but it should do its job.

But i suggest you to use DIALOG_STYLE_TABLIST just...
Forum: Scripting Help 03/12/2019, 10:38 AM
Replies: 34
Views: 605
Posted By Symon
Re: Online time money

There is nothing wrong with the code i gave you. The yours, it's a bit incorrect. Should be:


public CountOnlineTime()
(
foreach(new i : Player) if(pInfo[i][AdminLevel] == 1)
{
...
Forum: Scripting Help 03/12/2019, 10:36 AM
Replies: 8
Views: 222
Posted By Symon
Re: Textdraw size.

And that's what he did...



@OP Reducing text size will surely help you.
Forum: Scripting Help 03/12/2019, 01:38 AM
Replies: 34
Views: 605
Posted By Symon
Re: Online time money

Something like this?


new PlayingMinutes[MAX_PLAYERS];

SetTimer("CountOnlineTime", 60000, true); //1 minute

public CountOnlineTime()
{
foreach(new i : Player)
Forum: Scripting Help 03/12/2019, 01:33 AM
Replies: 4
Views: 76
Posted By Symon
Forum: Scripting Help 02/12/2019, 11:44 PM
Replies: 4
Views: 254
Posted By Symon
Re: How to fix this?

That INSERT query will lead you into problems in future.

Use default values and save just what you need when a player registers (I guess it's something related to account creation).

Just save...
Forum: Scripting Help 02/12/2019, 11:40 PM
Replies: 8
Views: 222
Posted By Symon
Re: Textdraw size.

There are some possible solutions that can help you fix your issue.

#1: Reduce text size, make it smaller, yours seems a bit big related to the box.
#2: Change allignment (try left or center)....
Forum: Scripting Help 02/12/2019, 11:36 PM
Replies: 4
Views: 76
Posted By Symon
Re: SSCANF: Format specifier does not match parameter count.

You are using "s" for string, related to choice, and "i" for an integer which you aren't using.

How you declared "choice"?
Forum: Scripting Help 30/11/2019, 02:23 PM
Replies: 4
Views: 107
Posted By Symon
Re: How to connect a gamemode to phpbb forum ?

I found this with a little search:

https://forum.sa-mp.com/showthread.php?t=486271

A bit outdated tho.
Forum: Scripting Help 22/10/2019, 11:28 AM
Replies: 22
Views: 833
Posted By Symon
Re: Show Notifications [Come in/Get out] Safezone

Show us your Enter/Exit dynamic area. You should check the area id before doing everything. And how are you creating the areas? With CreateDynamicSphere or what?
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 06:52 AM.


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