SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 70
Search took 0.00 seconds.
Search: Posts Made By: Terminator3
Forum: Plugin Development 12/11/2013, 04:14 PM
Replies: 18
[Plugin] Directory 2.0
Views: 14,872
Posted By Terminator3
Re: Directory 2.0

Oh sorry, for that late response and this bug, i don't know how i missed it, it easy to fix, in source should be

return (!mkdir(name, params[2]));
instead of
return (!mkdir(name, S_IREAD |...
Forum: Plugin Development 26/08/2012, 01:52 PM
Replies: 36
Views: 11,946
Posted By Terminator3
Re: [REL]tfile 3.0 Best file system!

Try them support section
Forum: Plugin Development 24/08/2012, 11:18 PM
Replies: 36
Views: 11,946
Posted By Terminator3
Re: [REL]tfile 3.0 Best file system!

You have VPS or this is some hosting?

wrong version of lib file, you have to update this file or packet or re compile plugin on this lib version
Forum: Plugin Development 20/07/2012, 05:48 PM
Replies: 78
[Plugin] CTime Library
Views: 43,768
Posted By Terminator3
Re: CTime Library

new tm <YourVarName>;
localtime(time(), YourVarName);
if(YourVarName[tm_wday] == 5)
{
SendClientMessage(playerid, WHITE, "");
}
Forum: Plugin Development 20/07/2012, 03:55 PM
Replies: 78
[Plugin] CTime Library
Views: 43,768
Posted By Terminator3
Re: CTime Library

Try mktime


Help me...[/quote]

You can't use dutils.inc or function at the same name (mktime)
Forum: Plugin Development 18/07/2012, 01:19 PM
Replies: 36
Views: 11,946
Posted By Terminator3
Re: [REL]tfile 3.0 Best file system!

Maybe, but you must describe me exactly what you want to save in files etc.
and you must also count with that, I will release the system on forum for free
Forum: Plugin Development 16/07/2012, 08:54 PM
Replies: 36
Views: 11,946
Posted By Terminator3
Re: [REL]tfile 3.0 Best file system!

fexist was deleted ? I have not heard
Forum: Plugin Development 16/07/2012, 07:11 PM
Replies: 36
Views: 11,946
Posted By Terminator3
Re: [REL]tfile 3.0 Best file system!

fKeyExist(UserFile(playerid), "Password"))
why do you check that?

better not use fuction (stock), paste the code to callback and try to not use UserFile(playerid) twice



The server can be...
Forum: Plugin Development 16/07/2012, 05:24 PM
Replies: 36
Views: 11,946
Posted By Terminator3
Re: [REL]tfile 3.0 Best file system!

I don't understand what you mean?
timer for update the file data? then do not say it to me :P

but to me sa:mp should turn off after completing all the functions in OnGameModeExit
Forum: Plugin Development 16/07/2012, 05:06 PM
Replies: 36
Views: 11,946
Posted By Terminator3
Re: [REL]tfile 3.0 Best file system!

Fixed ;)

If still not saves, it not my fault that sa:mp is closing faster than function can end operation
Forum: Bug Reports 11/07/2012, 03:03 PM
Replies: 288
Views: 144,713
Posted By Terminator3
Re: Bug List (CLIENT) (Updated frequently)

test it? i think not

2. Another bug, if we are on the train (not in) and DestroyVehicle then teleports as to position 0 0 0
3. If we deletes train and in this same callback creates new (on the...
Forum: Bug Reports 11/07/2012, 10:15 AM
Replies: 288
Views: 144,713
Posted By Terminator3
Re: Bug List (CLIENT) (Updated frequently)

You don't understand, after function TogglePlayerSpectating(playerid, 0); I should be sent to OnPlayerSpawn but it's sends me to OnPlayerRequestClass

If I click F4 once all works fine
Forum: Bug Reports 11/07/2012, 09:49 AM
Replies: 288
Views: 144,713
Posted By Terminator3
Re: Bug List (CLIENT) (Updated frequently)

Did not help but the problem is somewhere else
I have in OnPlayerRequestClass
SetPVarInt(playerid, "notspawned", 1);
SetSpawnInfo(playerid, NO_TEAM, random(300), -1627.1456, 257.9072, 6.3780,...
Forum: Bug Reports 10/07/2012, 08:52 PM
Replies: 288
Views: 144,713
Posted By Terminator3
Re: Bug List (CLIENT) (Updated frequently)

if we click F4 key many times callback OnPlayerRequestClass or OnPlayerSpawn will be called more then once
general, my suggestion is to remove it

sorry if it was
Forum: Plugin Development 10/07/2012, 08:56 AM
Replies: 36
Views: 11,946
Posted By Terminator3
Re: [REL]tfile 3.0 Best file system!

Big update of optimality and improvement of several errors
Forum: Plugin Development 07/07/2012, 01:42 PM
Replies: 4
Views: 1,404
Posted By Terminator3
Forum: Plugin Development 06/07/2012, 07:10 AM
Replies: 5
[Plugin] [REL]fstream
Views: 4,440
Posted By Terminator3
Re: [REL]fstream

@****** is one big problem with your code, Fwrite takes 3 arguments, the last must be -2, with your code 3 argument has a value 16436
Can you fix it because I do not know much about the EMIT

...
Forum: Plugin Development 02/07/2012, 07:28 PM
Replies: 5
[Plugin] [REL]fstream
Views: 4,440
Posted By Terminator3
Re: [REL]fstream

Should not be like that?
forward
_fstream_Fwrite_fix();

public
_fstream_Fwrite_fix()
{
Fwrite(fstream:(-1), "");
}
Forum: Plugin Development 02/07/2012, 05:52 PM
Replies: 5
[Plugin] [REL]fstream
Views: 4,440
Posted By Terminator3
Re: [REL]fstream

Oh, nice, but i do not understand callback _fstream_Fwrite_fix()
for what it's needed?
Forum: Plugin Development 02/07/2012, 04:00 PM
Replies: 5
[Plugin] [REL]fstream
Views: 4,440
Posted By Terminator3
[REL]fstream

Simple plugin that adds functionality fstream library to PAWN

What is fstream?
http://www.cplusplus.com/reference/iostream/fstream/


Functions:

fstream:Fopen(filename[], mode,...
Forum: Scripting Help 02/07/2012, 08:16 AM
Replies: 4
Views: 767
Posted By Terminator3
Forum: Plugin Development 01/07/2012, 09:09 PM
Replies: 36
Views: 11,946
Posted By Terminator3
Re: [REL]tfile 3.0 Best file system!

It's like said "You do it wrong"

show your plugins line from server.cfg and be sure that you have files tfile.dll or tfile.so in plugins folder
Forum: Scripting Help 01/07/2012, 07:19 PM
Replies: 4
Views: 767
Posted By Terminator3
Re: Freeze but with active keys

But when i write this, enter the server and click something the OnPlayerKeyStateChange callback it's not called:/
Forum: Scripting Help 01/07/2012, 06:35 PM
Replies: 4
Views: 767
Posted By Terminator3
Freeze but with active keys

I make my own skin selection (without buttons like spawn etc.)
but when 0.3e was released i can't get any kay in OnPlayerKeyStateChange if player is freezed

Have some idea how to disable player...
Forum: Filterscripts 01/07/2012, 06:18 PM
Replies: 4,018
Views: 2,219,550
Posted By Terminator3
Re: Useful Functions

Frename
Renames/moves any file (or copy if the last argument is set to false)

stock frename(const oldname[], const newname[], bool:delold = true)
{
new File:x = fopen(oldname, io_read);...
Showing results 1 to 25 of 70

 

All times are GMT. The time now is 04:28 PM.


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