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: Plugin Development 14/08/2018, 08:29 PM
Replies: 5,752
[Plugin] Streamer Plugin
Views: 2,818,776
Posted By Dayrion
Re: Streamer Plugin

Hey.
If you create 2 CP which first have priority set to 10 and the second priority is set to thans the first CP will be created before the second.
Forum: Scripting Help 12/08/2018, 05:48 AM
Replies: 14
Views: 248
Posted By Dayrion
Re: Wait on OnPlayerConnect

ayyy :confused:

OT; SetTimer/SetTimerEx: "The function to be called must be public. That means it has to be forwarded."
http://wiki.sa-mp.com/wiki/SetTimerEx
Forum: Plugin Development 11/08/2018, 05:38 AM
Replies: 3,630
Views: 547,245
Posted By Dayrion
Re: FCNPC - Fully Controllable NPC

AFIIK:
You have 300 maxplayers (server.cfg) and you try to connect NPC despite of the limit. It can't works. NPC are counted as players in TAB and server's slots.
Forum: Scripting Help 09/08/2018, 07:10 PM
Replies: 3
Views: 62
Posted By Dayrion
Re: Time Progress

Check related functions to 3DTextLabel: http://wiki.sa-mp.com/wiki/Create3DTextLabel
Forum: Scripting Help 09/08/2018, 07:03 PM
Replies: 3
Views: 62
Posted By Dayrion
Re: Time Progress

- Create 3DTextLabelText
- Use a timer to "% grow from 0% to 100% in specific time"
- Gratz

Did you tried something at least?
Forum: Scripting Help 07/08/2018, 07:34 AM
Replies: 4
Views: 101
Posted By Dayrion
Re: CreateActor Bug

Your code seems correct, try to debug it by printing step by step what your code is doing.
Forum: Scripting Help 06/08/2018, 02:48 PM
Replies: 4
Views: 101
Posted By Dayrion
Re: CreateActor Bug

Without any codes that will be difficult to answer you.
Forum: Scripting Help 04/08/2018, 08:53 PM
Replies: 7
Views: 137
Posted By Dayrion
Re: [MySQL] How to return name from SQLID?

Check that: http://wiki.sa-mp.com/wiki/MySQL/R40

Plant_GetOwner(sqlid)
{
new
query[128],
Cache:query_cache;

format(query, sizeof(query), "SELECT `Character` FROM...
Forum: Scripting Help 04/08/2018, 06:53 PM
Replies: 7
Views: 137
Posted By Dayrion
Re: [MySQL] How to return name from SQLID?

The will be returned by OnQueryFinished, not by Plant_GetOwner. Why? Because it's threaded query right here.
If you want Plant_GetOwner return the name, use a simple query, cache the result, obtain...
Forum: Scripting Help 04/08/2018, 06:50 PM
Replies: 5
Views: 107
Posted By Dayrion
Re: Its difference using capital letters or not in Enum?

Variables in enumeration need to be in capital letters with as prefix, the enumeration's name?
Forum: Scripting Help 03/08/2018, 07:54 PM
Replies: 2
Views: 73
Posted By Dayrion
Re: How to store colors in variable

2)
new color[25];
if(sscanf(inputtext, "s", color)) return SCM...
ClanInfo[CLAN_COLOR] = color;

I get error(in line ClanInfo...)

What are you trying to do with that? ^
Forum: Screenshots and Videos 03/08/2018, 09:27 AM
Replies: 5
Views: 440
Posted By Dayrion
Re: iPhone SA:MP System

Is it made with 0.3DL version?
Forum: Client Support 03/08/2018, 09:18 AM
Replies: 2
Views: 155
Posted By Dayrion
Re: Frequent crashes in just one server. Possible fix?

Seems to be an invalid attached object on a vehicle or something that related with attached object on a vehicle.
It probably come from this specify server.
Forum: Plugin Development 03/08/2018, 07:41 AM
Replies: 228
Views: 56,215
Posted By Dayrion
Re: Discord Connector

Yeaa, finally.
Forum: Scripting Help 03/08/2018, 07:05 AM
Replies: 8
Views: 230
Posted By Dayrion
Re: What is MAX_PLAYERS and MAX_VEHICLES?

Yes, you right. I said redefined which mean undefine and define it again.
Forum: Scripting Help 02/08/2018, 05:38 PM
Replies: 8
Views: 230
Posted By Dayrion
Re: What is MAX_PLAYERS and MAX_VEHICLES?

There are constant values which you can found them in a_samp.inc. They can be redefined
// Limits and internal constants
#define MAX_PLAYER_NAME (24)
#define MAX_PLAYERS (1000)...
Forum: Scripting Help 02/08/2018, 02:26 PM
Replies: 11
Views: 149
Posted By Dayrion
Re: carrespawn command

Change MAX_VEH to MAX_VEHICLES or increase the value of MAX_VEH to something better but prefers to change to MAX_VEHICLES .
Forum: Scripting Help 02/08/2018, 01:59 PM
Replies: 11
Views: 199
Posted By Dayrion
Re: isnull problem

Why I'm being ignored lol. You really shoudn't use sscanf for that, it's pretty useless actually and isnull is made for what you do.
Forum: Scripting Help 02/08/2018, 03:33 AM
Replies: 9
Views: 188
Posted By Dayrion
Re: HELP Pawno

Do you use community's compiler? If not then you should: https://github.com/pawn-lang/compiler/releases
Forum: Scripting Help 02/08/2018, 02:24 AM
Replies: 11
Views: 199
Posted By Dayrion
Re: isnull problem

Na, you don't have to use sscanf in that case.
You should debug your code, print part by part your code.
Forum: Scripting Help 01/08/2018, 11:02 PM
Replies: 9
Views: 188
Posted By Dayrion
Re: HELP Pawno

¿Show line 22779 please?
Forum: Scripting Help 01/08/2018, 05:24 PM
Replies: 9
Views: 188
Posted By Dayrion
Re: HELP Pawno

¿What errors?
Forum: Scripting Help 01/08/2018, 05:02 PM
Replies: 11
Views: 149
Posted By Dayrion
Re: carrespawn command

Is Engine defined like Engine[MAX_VEHICLES]?
Forum: Scripting Help 01/08/2018, 02:21 PM
Replies: 11
Views: 149
Posted By Dayrion
Re: carrespawn command

Variables have default value in pawn.

Anyway, is your code made for respawning a vehicle? Have you crashdetect plugin ? If yes, does it detect something?
Forum: Scripting Help 01/08/2018, 03:13 AM
Replies: 1
Views: 77
Posted By Dayrion
Re: Is it possible to make this code work?

I don't think is that possible to make macro (which is a pre-processor directive AFAIK) of a pre-processor directive. That doesn't really make sense.
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 10:10 PM.


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