SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 434
Search took 0.02 seconds.
Search: Posts Made By: RoboN1X
Forum: Everything and Nothing 22/06/2020, 02:23 AM
Replies: 5
Views: 424
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: 166
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: 98
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: 78
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: 106
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,438
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: 214
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: 165
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: 207
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: 207
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: 121
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: 174
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: 362
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: 173
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: 423
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: 78
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: 142
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: 438
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
Forum: Scripting Help 06/05/2020, 07:56 PM
Replies: 2
Views: 119
Posted By RoboN1X
Re: An Actor in a Car ?

I think we can't use normal SA-MP NPC in passenger seat
Forum: Scripting Help 06/05/2020, 07:49 PM
Replies: 7
Views: 120
Posted By RoboN1X
Re: gamemode does not compile

It's not about "optimise", it's about your spaghetti code. From how you overused inline, comma, bad identation, you lack of optimizing your own brain as the coder.

Programming language is...
Forum: Scripting Help 06/05/2020, 07:28 PM
Replies: 2
Views: 81
Posted By RoboN1X
Re: MySQL query acting weird.

Any reason for this "GetReportedPlayerID"?




Don't know if it's intentional, but that's the reason it gives infinite loop.
Forum: Scripting Help 05/05/2020, 07:16 PM
Replies: 23
Views: 312
Posted By RoboN1X
Re: unreachable code

Didn't mention anything about "6", even the code I gave was not using either functions, yet still has good readability when you want to split them into 6 lines.

I also actually fixed a little...
Forum: Scripting Help 05/05/2020, 06:20 PM
Replies: 2
Views: 63
Posted By RoboN1X
Re: Ajuda achar Plug lixux

Portuguese board is here: https://forum.sa-mp.com/forumdisplay.php?f=34



If I guessed right that you want to find version of the corresponding streamer.inc, then that's it 27401...
...
Forum: Scripting Help 05/05/2020, 06:04 PM
Replies: 2
Views: 101
Posted By RoboN1X
Re: MD5 to Bcrypt - changes

I do not see any code of you attempting to use bcrypt function yet. Since you are showing 2 links of (different?) implementation of Bcrypt... Better show the codes and what errors you are getting......
Showing results 1 to 25 of 434

 

All times are GMT. The time now is 05:54 PM.


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