SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 43
Search took 0.00 seconds.
Search: Posts Made By: RakeDW
Forum: Scripting Help 15/07/2019, 10:34 PM
Replies: 4
Views: 162
Posted By RakeDW
Re: RPC - ShowTextDraw Flags

@=KampeR= what is bytePadding ?
Forum: Scripting Help 15/07/2019, 06:30 PM
Replies: 4
Views: 162
Posted By RakeDW
Forum: Scripting Help 15/07/2019, 06:27 PM
Replies: 4
Views: 162
Posted By RakeDW
Re: RPC - ShowTextDraw Flags

Ok so I find out something.

18 = 0b10010 // prop = 1; align = 1; usebox = 0;
24 = 0b11000 // prop = 1; align = 2; usebox = 0;
20 = 0b10100 // prop = 1; align = 3; usebox = 0;
19 = 0b10011 //...
Forum: Scripting Help 15/07/2019, 05:48 PM
Replies: 4
Views: 162
Posted By RakeDW
RPC - ShowTextDraw Flags

Ok so we have this RPC

ShowTextDraw - ID: 134
Parameters: UINT16 wTextDrawID, UINT8 Flags, float fLetterWidth, float fLetterHeight, UINT32 dwLetterColor, float fLineWidth, float fLineHeight,...
Forum: Scripting Help 17/09/2018, 10:12 PM
Replies: 5
Views: 282
Posted By RakeDW
Re: Bit operation

Fixed it.

new some_var;
new bit_pos_to_turn_on = 15;
some_var |= (1 << bit_pos_to_turn_on);

printf((some_var & (1 << bit_pos_to_turn_on)) ? ("pass") : ("fail"));


anyway thanks to all :D
Forum: Scripting Help 17/09/2018, 04:24 PM
Replies: 5
Views: 282
Posted By RakeDW
Forum: Scripting Help 15/09/2018, 07:50 PM
Replies: 5
Views: 282
Posted By RakeDW
Bit operation

Hi, I need help with bit operations..
Lets say I have all bits "turned on"

11111111111111111111111111111111

Now I have variables ex.

new myVar = 8;

And I must turn off 8th bit and get...
Forum: Scripting Help 29/01/2018, 09:23 PM
Replies: 4
Views: 298
Posted By RakeDW
Forum: Scripting Help 29/01/2018, 06:47 PM
Replies: 4
Views: 298
Posted By RakeDW
error 004: function "x" is not implemented

error 004: function "reglog_OnDialogResponse" is not implemented

code

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
return reglog_OnDialogResponse(playerid,...
Forum: Filterscripts 07/01/2018, 01:25 PM
Replies: 472
Views: 258,353
Posted By RakeDW
Re: TDEditor - New TextDraw creator with Preview models.

use box = true, text size ( just resize it ), now u can set use box = false or remove alpha (set it on 00) from box color
Forum: Scripting Help 10/11/2017, 08:27 PM
Replies: 6
Views: 392
Posted By RakeDW
Re: It's corect?

if(fexist(string)) will check if Accounts/SOMEFILE.ini exist, <<< TRUE
if(fexist(params)) will check if SOMEFILE exist <<< FALSE WAY
Forum: Scripting Help 06/11/2017, 07:55 PM
Replies: 3
Views: 994
Posted By RakeDW
Forum: Scripting Help 12/08/2017, 10:05 PM
Replies: 2
Views: 330
Posted By RakeDW
Re: memcpy problem

I know that way (PlayerData[playerid] = PlayerData[MAX_PLAYERS])

but i heard that memcpy way is 'faster' :D

anyway tnx :D
Forum: Scripting Help 12/08/2017, 09:48 PM
Replies: 2
Views: 330
Posted By RakeDW
Unhappy memcpy problem

http://prntscr.com/g7px5j - OnPlayerConnect
http://prntscr.com/g7pxaq - OnGameModeInit
ofc PlayerData[MAX_PLAYERS + 1][ENUM_PLAYER_DATA]

Tried sizeof PlayerData[][] and without any brackets []
Forum: Plugin Development 21/05/2017, 03:58 PM
Replies: 123
Views: 41,326
Posted By RakeDW
Re: Streamer Plugin with Vehicle Streamer

Oh nice, there is streamer id :D
Thanks
Forum: Plugin Development 15/05/2017, 09:27 PM
Replies: 123
Views: 41,326
Posted By RakeDW
Re: Streamer Plugin with Vehicle Streamer

What is happening in this case:

[code]new VehicleID;
VehicleID = CreateDynamicVehicle(...); // ok, now VehicleID = 5 (example)
// imagine there is no1 in stream distance (so vehicle will be...
Forum: Plugin Development 09/05/2017, 12:16 PM
Replies: 463
[Plugin] Pawn.CMD
Views: 139,946
Posted By RakeDW
Re: Pawn.CMD - the fastest and most functional command processor

new bool: actived[MAX_PLAYERS] = true;

CMD:example(id, params[]) {
if (!actived[id]) return 1;
//.......
return 1;
}


This?
Forum: Plugin Development 07/05/2017, 01:49 PM
Replies: 123
Views: 41,326
Posted By RakeDW
Re: Streamer Plugin with Vehicle Streamer

It is not enough.
This streamer will help servers with 900+ players :)
Forum: Plugin Development 06/05/2017, 09:30 PM
Replies: 123
Views: 41,326
Posted By RakeDW
Re: Streamer Plugin with Vehicle Streamer

When will Linux version be released?
Forum: Plugin Development 06/05/2017, 08:48 PM
Replies: 123
Views: 41,326
Posted By RakeDW
Re: Streamer Plugin with Vehicle Streamer

Is this edit of a Streamer 2.9.1 or older Incognito's plugin?
Forum: Scripting Help 28/11/2016, 08:08 PM
Replies: 0
Views: 260
Posted By RakeDW
Streamer smooth MoveDObject

Hi, I have problem with smooth moving object. Here is my code:
CMD:operate(playerid, params[]) {
if (sscanf(params, "d", params[0])) return 1;
if (params[0] == 1) {
for(new i = 0; i < sizeof...
Forum: Server Support 13/09/2015, 02:35 PM
Replies: 5
Views: 608
Posted By RakeDW
Re: Messageslimit shut down my server

When I have 23 players or higher it just stop the server, and shows message to player
You are banned from this server.
Forum: Server Support 12/09/2015, 07:50 PM
Replies: 5
Views: 608
Posted By RakeDW
Forum: Server Support 12/09/2015, 07:06 PM
Replies: 5
Views: 608
Posted By RakeDW
Messageslimit shut down my server

Hi, 3-4 days ago my server starts shutting down when we have > 25 players
http://www.pastebin.ca/3159991
pls help :(
sry 4 bad english
Forum: Scripting Help 12/07/2015, 06:22 PM
Replies: 6
Views: 672
Posted By RakeDW
Showing results 1 to 25 of 43

 

All times are GMT. The time now is 06:46 PM.


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