SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 440
Search took 0.01 seconds.
Search: Posts Made By: RoboN1X
Forum: Scripting Help 29/07/2020, 05:28 AM
Replies: 2
Views: 1,746
Posted By RoboN1X
Forum: Scripting Help 21/07/2020, 05:45 PM
Replies: 4,149
Views: 638,974
Posted By RoboN1X
Smile Re: Little coding questions - For general minor queries 5

The first one will have the compiler calculate the array size based on the initializer, thus it will technically becomes [2][4]. It is only possible if the initial values are declared, so you cant...
Forum: Scripting Help 19/07/2020, 12:23 PM
Replies: 2
Views: 155
Posted By RoboN1X
Re: [Infinite Args] calling mysql_format using SYSREQ.C

Are you sure that you don't want to pass any argument to callback in mysql_tquery? Just want infinite format?


static _connectionID ,
_queryBuffer [4096];

#define...
Forum: Scripting Help 15/07/2020, 06:27 PM
Replies: 3
Views: 203
Posted By RoboN1X
Re: Updating & Deleting Multiple Data

Does not seems clear to me how your database is and how you want it get updated


if you want to delete inactive account the same way as you show with kills then just do it
if you have two...
Forum: Scripting Help 15/07/2020, 01:28 PM
Replies: 4
Views: 209
Posted By RoboN1X
Re: Help me whats wrong with my code and IsPlayerInDynamicArea

Aren't you supposed to load Gang first then the Zones? :)
Forum: Scripting Help 15/07/2020, 09:13 AM
Replies: 4
Views: 209
Posted By RoboN1X
Re: Help me whats wrong with my code and IsPlayerInDynamicArea

You can use IsAnyPlayerInDynamicArea function to check if any player (regardless total) is within the specific dynamic area, thus you do not need to use foreach on players.
...
Forum: Everything and Nothing 22/06/2020, 02:23 AM
Replies: 5
Views: 587
Posted By RoboN1X
Re: Flowchart

I do know, but that does not mean i'd like to post

I used a flow chart once to suggest a feature, just not many people here know about it like this guy above, so it is not effective
Forum: Scripting Help 22/06/2020, 02:05 AM
Replies: 6
Views: 185
Posted By RoboN1X
Re: SelectDynamicObject?

post codes please.... this is scripting help

SelectObject is for any kind of server object that the client sees, there is no SelectPlayerObject at all, it uses same function, so if its not...
Forum: Scripting Help 16/06/2020, 06:27 PM
Replies: 1
Views: 111
Posted By RoboN1X
Re: NPC IS NOT WORKING BRO!

They do, you just need to load animation library for the player (not the actor) first
Forum: Scripting Help 16/06/2020, 06:21 PM
Replies: 1
Views: 91
Posted By RoboN1X
Re: /setlevel -Problem with DB

UpdateVariable(playerid, Levelx); <- line with problem
format( gsQuery, 128, "UPDATE `accounts` SET `Level` = %d WHERE `Key` = %d", PlayerInfo[playerid] [Level], PlayerInfo[playerid][ AccID ] );...
Forum: Scripting Help 16/06/2020, 12:15 PM
Replies: 4
Views: 117
Posted By RoboN1X
Re: How to get sounds ids from GENRL?

Those are the list that can be used, with some changes id 1-1000 read more about it here:



Soo if you are asking if you can play all audio, e.g that particular vehicle engine sound or gang ped...
Forum: Scripting Help 12/06/2020, 06:53 PM
Replies: 7
Views: 5,516
Posted By RoboN1X
Re: Weed Bush?!

Uhm, do you guys realize that object wasn't even exist when this thread was made?
Forum: Scripting Help 12/06/2020, 06:44 PM
Replies: 6
Views: 232
Posted By RoboN1X
Re: CPU 100%

That's the worst "search nearby vehicle"? function I ever seen.

Here try this (non foreach):

public AutoCerca_Test2(Jugador, Float:Range)
{
new Vehiculo = GetPlayerVehicleID(Jugador);
...
Forum: Server Support 12/06/2020, 06:17 PM
Replies: 1
Views: 191
Posted By RoboN1X
Re: How to add an image to Texture Studio?

Unfortunately it is just called Texture Studio, not Image Studio.. SA:MP do not have ability to add pictures, if you noticed there are, those are just client mods or custom objects with custom...
Forum: Server Support 08/06/2020, 04:28 PM
Replies: 4
Views: 233
Posted By RoboN1X
Re: Maximum returned number of SetTimer and SetTimerEx?

I don't think you should worry about that, perhaps you need to optimize your codes and reduce the timer amount.



So this is the code i thought of:

#include <a_samp>

new l;
Forum: Server Support 08/06/2020, 02:58 PM
Replies: 4
Views: 233
Posted By RoboN1X
Re: Maximum returned number of SetTimer and SetTimerEx?

If those 2147483647 timers are still running then maybe server will crash as said here https://forum.sa-mp.com/showpost.php?p=3684747&postcount=5
or simply wont work... timer ids are never used...
Forum: Scripting Help 04/06/2020, 08:22 PM
Replies: 4
Views: 133
Posted By RoboN1X
Re: Replacing Timers with Moving Objects

for streamer object, they do... however it is inside the plugin
idk for normal object

but your idea doesnt sounds good, objects are something to sync each server ticks to the player, your server...
Forum: Scripting Help 04/06/2020, 07:58 PM
Replies: 4
Views: 191
Posted By RoboN1X
Re: Object rotation problem

you cant just change the angle and expect it work the same since your seats are absolute value.
You'd need to do some math calculation with cos sin etc to get relative offsets and position, take...
Forum: Scripting Help 01/06/2020, 03:37 PM
Replies: 1
Views: 80
Posted By RoboN1X
Re: Fetching the ID by knowing the name.

new Cache:result;
mysql_format(HSQL, gQuery, sizeof(gQuery), "SELECT `ID` FROM `users` WHERE `Name` = '%e' LIMIT 1", name);
result = mysql_query(HSQL, gQuery);
cache_set_active(result); // dont...
Forum: General 01/06/2020, 03:02 PM
Replies: 4
Views: 467
Posted By RoboN1X
Re: Mapping issue, help!

He did



This is in game:
12791

This is in the editor (nothing is removed):
12792
Forum: Scripting Help 30/05/2020, 08:48 PM
Replies: 5
Views: 184
Posted By RoboN1X
Re: warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")

not in the function definition, but in the code implementation




edited from example which should be

public OnPlayerText(playerid, text[])
{
GetMentiones(playerid, text, 0xCC0000FF,...
Forum: Scripting Help 11/05/2020, 10:07 PM
Replies: 9
Views: 452
Posted By RoboN1X
Re: Is it possible to use Pawn.RakNet to fake PedSlotsUsed numbers on player press F5?

You are saying like that script work but bugged, it cant be called working if it has bug.


Read again my reply

the script of that post increases random number of peds by spoofing fake players,...
Forum: Scripting Help 11/05/2020, 08:34 PM
Replies: 2
Views: 82
Posted By RoboN1X
Re: [Streamer] load objects without refresh

Technically it be achieved with Streamer_ToggleItemStatic (https://github.com/samp-incognito/samp-streamer-plugin/wiki/Natives-(Settings)#Streamer_ToggleItemStatic)

but logically streamer does not...
Forum: Scripting Help 09/05/2020, 10:42 AM
Replies: 4
Views: 148
Posted By RoboN1X
Re: Why does strdel() not actually delete data from an array?

I believe all string functions behave the same, treats every string to end with EOS (if i remember right in the pawn doc)
for instance when you use strlen it will just actually find the first EOS...
Forum: Client Support 07/05/2020, 08:01 PM
Replies: 4
Views: 496
Posted By RoboN1X
Re: samp-debug

The usage is /v <vehicle model id> so for cheetah is /v 415
Also try /vsel to select vehicle

https://wiki.sa-mp.com/wiki/Debug_Guide
Showing results 1 to 25 of 440

 

All times are GMT. The time now is 02:24 PM.


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