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: Dayrion
Forum: Português/Portuguese 19/11/2018, 08:39 PM
Replies: 12
[Ajuda] Server crashed
Views: 210
Posted By Dayrion
Re: Server crashed

@Italloo:
You need to check if the value returned by fopen is superior of 0. If is it not, the file is invalid. If is it, you can read through it and close him.
If that help don't solve your...
Forum: Português/Portuguese 19/11/2018, 06:37 PM
Replies: 12
[Ajuda] Server crashed
Views: 210
Posted By Dayrion
Re: Server crashed

You misunderstood me. You are using fclose on a invalid file id that you pass inside the function. I don't speak portuguese at all, I apologize.

Você me entendeu mal. Você está usando o fclose em...
Forum: Scripting Help 19/11/2018, 08:13 AM
Replies: 14
Views: 120
Posted By Dayrion
Re: Could not connect to YSI|update server (response was 003).

Well, you haven't update it correclty. It should be wrote something like:
[07:25:54] =======================================
[07:25:54] | |
[07:25:54] | ...
Forum: Português/Portuguese 19/11/2018, 08:03 AM
Replies: 12
[Ajuda] Server crashed
Views: 210
Posted By Dayrion
Re: Server crashed

You crash come from fclose. Probably, you are trying to close an invalid file and it leads your server to crash. Check your code under OnGameModeInit.
Forum: Plugin Development 19/11/2018, 07:45 AM
Replies: 10
Views: 796
Posted By Dayrion
Forum: Scripting Help 19/11/2018, 07:38 AM
Replies: 14
Views: 120
Posted By Dayrion
Re: Could not connect to YSI|update server (response was 003).

It seems not because this message doesnt exist in the 0.4x version.
Forum: Scripting Help 19/11/2018, 07:24 AM
Replies: 14
Views: 120
Posted By Dayrion
Re: Could not connect to YSI|update server (response was 003).

Damn, is that hard to do some research on the internet? Like, you have just to type: "ysi samp" and you find a post about YSI and a link on the YSI's repo.
Forum: Scripting Help 19/11/2018, 07:17 AM
Replies: 14
Views: 120
Posted By Dayrion
Forum: Scripting Help 19/11/2018, 07:10 AM
Replies: 11
Views: 202
Posted By Dayrion
Re: Is This Bug or anything else

Show the code which include the dialog.
Forum: Scripting Help 19/11/2018, 06:53 AM
Replies: 14
Views: 120
Posted By Dayrion
Forum: Scripting Help 11/11/2018, 12:13 PM
Replies: 2
Views: 90
Posted By Dayrion
Re: Name Tag

No you can't unless you make your own health/armor bar with 3DTextLabel.
Forum: Scripting Help 28/10/2018, 11:15 PM
Replies: 12
Views: 335
Posted By Dayrion
Re: Actors are not sync...

They are just NPC.
Forum: Plugin Development 26/10/2018, 07:54 PM
Replies: 12
Views: 1,698
Posted By Dayrion
Re: Color Embled Fix (CEFix)

What a beautiful language you have. Unfortunately, I don't speak it. Good job for your plugin which seems to solve a serious problem!
Forum: Scripting Help 23/10/2018, 06:12 PM
Replies: 4
Views: 131
Posted By Dayrion
Re: Actor Invulnerable

Can you, please, use a translator to make understandable what you mean.
Forum: Scripting Help 21/10/2018, 05:11 PM
Replies: 3
Views: 70
Posted By Dayrion
Re: Need urgent help.

You should only use dynamic label since you are using streamer plugin. Mix those two types is a very bad idea. Why? Simply because you need to use differents functions for each type. You will agree...
Forum: Scripting Help 18/10/2018, 11:39 AM
Replies: 9
Views: 157
Posted By Dayrion
Re: Problem with compilation

Remove the screens and copy/paste errors in [CODE] balise, please.
And yes, errors matters.
Forum: Scripting Help 17/10/2018, 10:39 PM
Replies: 9
Views: 157
Posted By Dayrion
Re: Problem with compilation

Start by telling us what errors you have...
Forum: Includes 06/10/2018, 08:55 PM
Replies: 16
[Include] samp-account
Views: 1,697
Posted By Dayrion
Re: samp-account

Both are correct. The usage depends on the declaration.
In the example, you will use the variable like that: "pInfo[playerid][pAdmin]" but in your way it's: "pInfo[pAdmin][playerid]"
I admit that...
Forum: Includes 03/10/2018, 08:25 PM
Replies: 33
Views: 6,178
Posted By Dayrion
Re: actor_plus » Useful functions/callbacks for actors

What's ur includes? Have you the latest versions of them all?
Forum: Scripting Help 29/09/2018, 11:46 AM
Replies: 2
Views: 95
Posted By Dayrion
Re: ysi libary

What does that mean: "pre formatted messages ors"?
Forum: Scripting Help 28/09/2018, 12:16 PM
Replies: 4
Views: 144
Posted By Dayrion
Re: MySQL

SQL is a language, like pawn, that you need to learn before using it.
https://www.w3schools.com/sql/

https://github.com/pBlueG/SA-MP-MySQL/releases
(MySQL version, it's an example. SQLite can be...
Forum: Scripting Help 27/09/2018, 02:07 PM
Replies: 4
Views: 108
Posted By Dayrion
Re: Command help

Use "format" function to format the rank id like: "Rank%i" with the rank id but you should normalize (iirc that's the correct word) your table. I mean, you should have not Rank1, Rank2, Rank3, ......
Forum: Scripting Help 27/09/2018, 02:02 PM
Replies: 12
Views: 181
Posted By Dayrion
Re: Unknown errors in my code(server still compiles).

Yep, that's it. Also, please, remove
#pragma tabsize 0
new str[1000];
Start your gamemode with some good practices.
Forum: Scripting Help 27/09/2018, 01:01 PM
Replies: 12
Views: 181
Posted By Dayrion
Re: Unknown errors in my code(server still compiles).

Probably the "OnGameModeInit" isn't correctly hooked on one of your includes.
Can you show what includes are you using?
Forum: Scripting Help 27/09/2018, 12:17 PM
Replies: 4
Views: 108
Posted By Dayrion
Re: Command help

sscanf utilisation must be: "intenger string" because a string can be anything.
sscanf(params, "s[30]ds[30]", factionname, rank, newrankname)) become
sscanf(params, "ds[30]s[30]", rank,...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 02:41 AM.


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