SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 27
Search took 0.01 seconds.
Search: Posts Made By: spell
Forum: General 31/08/2015, 03:30 PM
Replies: 7
Views: 4,811
Posted By spell
Re: INSTALLING ON UBUNTU: i cant browse the gta folder with sa-mp/wine (->hidden)

Press CTRL+H when selecting GTA SA directory on file explorer for show hidden folders.

I also play on ubuntu, at .wine/drive_c/Programa Files/Rockstar Games/GTA San Andreas and everything works...
Forum: Everything and Nothing 20/07/2015, 08:13 AM
Replies: 97
Views: 7,808
Posted By spell
Re: Leaving SA-MP

True. Also happens first time programming in 100% OOP languages coming from pawn or c : you dont know nothing

Maybe play samp is a waste of time, but i think script in pawn can help you if you...
Forum: Plugin Development 17/07/2015, 05:14 AM
Replies: 11
[Plugin] Anti Reconnect
Views: 5,236
Posted By spell
Re: Anti Reconnect

This plugin works with ips, not players
Forum: Plugin Development 17/07/2015, 02:13 AM
Replies: 11
[Plugin] Anti Reconnect
Views: 5,236
Posted By spell
Re: Anti Reconnect

From PAWN, keep track of connections is very hard to do due to static memory managent. Some features of C++ like maps, vector, OOP make this very effective and fast. Good work.
Forum: Plugin Development 17/06/2015, 06:22 PM
Replies: 945
Views: 125,151
Posted By spell
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

It supports calling SAMP native functions from different threads?
Forum: Everything and Nothing 08/05/2015, 12:06 PM
Replies: 35
Views: 3,053
Posted By spell
Re: C++ or Java?

Java is better for a lot of reasons:
- Its multiplatform. You Dont need to compile the for every platfotm you want to run.
- Is very easy to debug (and c++ cleary not). When a crash...
Forum: News and Updates 01/05/2015, 03:10 PM
Replies: 376
Views: 143,049
Posted By spell
Respuesta: Re: SA-MP 0.3.7 is released!

Remember that nc are normal players with a connection flag (i think) that specifies they are npc. Some hacks have options to connect players with this npc flag
Forum: Scripting Help 24/04/2015, 02:03 PM
Replies: 3
Views: 411
Posted By spell
Re: Phones that are not associated with the player data

Its the same, the seconds will use more memory than the first, but will be faster and cleaner
Forum: Scripting Help 24/04/2015, 01:18 PM
Replies: 3
Views: 411
Posted By spell
Re: Phones that are not associated with the player data

If you Know hoy many phones will have the server, use arrays. If not, I think you should use gvars (dynamic memory)

Fist, a enum for phone data


// MySQL loading stuff
new datacount = sizeof...
Forum: Plugin Development 16/04/2015, 12:32 AM
Replies: 40
Views: 15,539
Posted By spell
Re: Life Command Engine [LIFE:CMD]

Dont worry about "speed", speed is how much time take the code to find the command and call the function, but the "heavy" process is the command execution, not the command finding. I think strcmp is...
Forum: Plugin Development 14/04/2015, 03:38 AM
Replies: 352
Views: 110,495
Posted By spell
Re: Gamemode SDK for C/C++ (GDK)

Thanks!! VERY good work, i have some questions:

It supports calling samp functions from different threads?
Callbacks will be ever called from the same thread? (i suppose the main thread is the...
Forum: Scripting Help 22/02/2015, 02:04 PM
Replies: 6
Views: 2,174
Posted By spell
Re: Add ability to get path to AMX file (for plugin developers)

Another way is read server.cfg file and parse gamemode0 or filterscripts var, look this http://forum.sa-mp.com/showpost.php?p=3264541&postcount=9
Forum: Server Support 06/12/2014, 03:20 AM
Replies: 231
Views: 34,421
Posted By spell
Re: Server Full - Discussion

I think this code can work:


new
RealConnected[MAX_PLAYERS],
secureTimer = -1;

forward legitimconnections();

public OnFilterScriptInit() {
Forum: Bug Reports 25/11/2014, 11:19 PM
Replies: 3
Views: 1,221
Posted By spell
Re: sync bug?

This is a know bug. Its caused because OnPlayerStateChange is not called - the player vehicle id is not synced for other players.

You can fix it by re-streaming the player.

stock...
Forum: Plugin Development 23/11/2014, 04:15 AM
Replies: 16
Views: 7,261
Posted By spell
Re: SA:MP Shell Plugin

The command is executed in other thread, so the id is for identify the executed command. Example:

This script prints your current gamemode:
new Shell:dirlist, Shell:serverinfo, Shell:gminfo;
...
Forum: Bug Reports 26/02/2014, 11:16 PM
Replies: 2
Views: 1,407
Posted By spell
Re: OnPlayerUpdate dont called when passenger Drive-By

I guess this is a problem, because it should synchronize the movement and animation when a player being passenger drive-by (because the animation depends on the mouse position).
Forum: Bug Reports 26/02/2014, 07:09 PM
Replies: 2
Views: 1,407
Posted By spell
OnPlayerUpdate dont called when passenger Drive-By

when you're a passenger and press "Block mayus" for passenger drive-by, OnPlayerUpdate is called only when you fire a gun, if you dont fire OnPlayerUpdate is called every ~5 seconds, and other...
Forum: Bug Reports 19/02/2014, 11:46 PM
Replies: 5
Views: 2,700
Posted By spell
Re: 0.3z lag compensation bug

i dont know why this happens, but its a serious problem, but servers and admins ban innocent players for this issue. And i tink you cant make server scripts for fix this issue

I can bring for...
Forum: Scripting Help 05/02/2014, 03:40 PM
Replies: 20
Views: 3,372
Posted By spell
Re: Vehicle death issue

i think vehicle explosions need to be server-sided. If vehicle is unoccupied call onvehicledeath (vehicleid, INVALID_PLAYER_ID) but server-sided count down for vehicle exploding.. Its really...
Forum: Includes 02/08/2013, 09:46 PM
Replies: 68
Views: 16,086
Posted By spell
Respuesta: FairPlay - Keep the cheaters out

This is good. I recommend you use GetTickCount () instead of TickCount ().

"TickCount () returns The number of milliseconds since start-up of the system. For a 32-bit cell, This count overflows...
Forum: Plugin Development 26/05/2013, 06:28 AM
Replies: 36
[Plugin] FTP
Views: 17,702
Posted By spell
Respuesta: FTP

i dont know when is called Ftp_FileReceived, what information does this give us?
Forum: Português/Portuguese 22/04/2013, 11:28 PM
Replies: 4
[Ajuda] SendFormatMsg
Views: 487
Posted By spell
Respuesta: SendFormatMsg

eç sefalìt não paramitos função szecura neymar:

stock SendFormatMsg(playerid,color,const msg[],{Float,_}:...)
{
new len = strlen(msg),d=0,posArg = 3;
new dest[512];
for(new i=0;i<len;i++)
{...
Forum: Filterscripts 15/04/2013, 11:49 PM
Replies: 528
Views: 338,881
Posted By spell
Respuesta: iPLEOMAX's TextDraw Editor (Stable Version)

i dont know how can i put sprites. I changed the font to 4, the text string to "tag:name" (Name of the sprite) and enabled box, and changed text size, but the image are not showed.
Forum: Includes 20/01/2013, 07:11 PM
Replies: 308
Views: 177,004
Posted By spell
Respuesta: [0.3X] mSelection 1.1 R3 - Create Model Preview Menus with a few lines of code

Good work!! Sugestion: Add "fclose" when a file is loaded, because if you not close the file, the file are protected, an you cant write, or read it.

Thanks! Sorry for my english
Forum: Scripting Help 18/01/2013, 02:38 AM
Replies: 618
Views: 80,601
Posted By spell
Respuesta: Suggestions Thread

//Functions
native AttachCameraToAttachedObject(playerid, slot);
native Audio:CreateAudioStream(url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0,...
Showing results 1 to 25 of 27

 

All times are GMT. The time now is 08:16 AM.


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