SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 31/05/2018, 04:43 PM   #201
Spmn
Gangsta
 
Join Date: Jun 2015
Location: Romania
Posts: 490
Reputation: 131
Default Re: Pawn.RakNet

Text length can't be uint8. Most likely it's uint16.
Spmn is offline   Reply With Quote
Old 31/05/2018, 05:21 PM   #202
ball
Huge Clucker
 
ball's Avatar
 
Join Date: Jul 2012
Location: Poznan, Poland
Posts: 279
Reputation: 33
Default Re: Pawn.RakNet

Thank you very much, now its working like a charm! I took the parameters from there and I thought it is correct.
ball is offline   Reply With Quote
Old 03/08/2018, 08:29 PM   #203
Jasno
Little Clucker
 
Join Date: Nov 2017
Posts: 31
Reputation: 0
Default Re: Pawn.RakNet

Why is there no information about OPacket?
Jasno is offline   Reply With Quote
Old 08/12/2018, 05:35 PM   #204
Amagida
Little Clucker
 
Join Date: Oct 2017
Posts: 29
Reputation: 14
Default Re: Pawn.RakNet

How can i Show or hide players using this plugin?
Amagida is offline   Reply With Quote
Old 13/12/2018, 02:12 AM   #205
Jefff
Banned
 
Join Date: Dec 2007
Posts: 2,594
Reputation: 326
Default Re: Pawn.RakNet

Is there any chance to get this plugin for windows xp? because i saw its only for windows > 7, halo peoples
Jefff is offline   Reply With Quote
Old 28/12/2018, 05:11 AM   #206
makarevich
Little Clucker
 
Join Date: Dec 2017
Posts: 2
Reputation: 0
Default Re: Pawn.RakNet

JoyPad ?
makarevich is offline   Reply With Quote
Old 25/02/2019, 03:31 PM   #207
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 122
Reputation: 241
Default Re: Pawn.RakNet

1.3.0:
  • Added new types: PR_FLOAT3, PR_FLOAT4, PR_VECTOR, PR_NORM_QUAT
  • Added BS_ReadWeaponsUpdate, BS_WriteWeaponsUpdate
  • Added BS_EmulateIncomingPacket, BS_EmulateIncomingRPC
  • Added optional 3rd argument 'outcoming' in BS_ReadOnFootSync, BS_ReadInCarSync, BS_WriteOnFootSync, BS_WriteInCarSync
  • Fixed ID_TIMESTAMP vulnerability
  • Fixed negative playerid in OnIncomingPacket, OnIncomingRPC
  • Added CR:MP (0.3e) adaptation
YourShadow is offline   Reply With Quote
Old 22/03/2019, 07:54 AM   #208
iorp
Big Clucker
 
iorp's Avatar
 
Join Date: Sep 2018
Location: I do not live
Posts: 66
Reputation: 1
Flowers Re: Pawn.RakNet

Code:
const GiveOrTake = 115;
IRPC:GiveOrTake(playerid, BitStream:bs)
{
	new data[PR_OnGiveTake];
	BS_IgnoreBits(bs, 8);
	BS_ReadGiveOrTake(BitStream:bs, data);
	printf(
		"GiveOrTake[%d], bGiveOrTake: %d, wPlayerID: %d, damage_amount: %f, dWeaponID: %d, dBodypart: %d",
		playerid,
		data[Pr_bGiveOrTake],
		data[Pr_wPlayerID],
		data[Pr_damage_amount],
		data[Pr_dWeaponID],
		data[Pr_dBodypart]
		);
	return 1;
}
BS_ReadValue output is not as expected? why??
Code:
GiveOrTake[1], bGiveOrTake: 0, wPlayerID: 52480, damage_amount: 0.000000, dWeaponID: 50331648, dBodypart: 0
__________________
Indian Ocean Roleplay

iorp is offline   Reply With Quote
Old 22/03/2019, 07:24 PM   #209
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 122
Reputation: 241
Default Re: Pawn.RakNet

Quote:
Originally Posted by iorp View Post
Code:
BS_IgnoreBits(bs, 8);
Remove this line.
YourShadow is offline   Reply With Quote
Old 24/03/2019, 05:04 PM   #210
iorp
Big Clucker
 
iorp's Avatar
 
Join Date: Sep 2018
Location: I do not live
Posts: 66
Reputation: 1
Default Re: Pawn.RakNet

Quote:
Originally Posted by YourShadow View Post
Remove this line.
Thanks
__________________
Indian Ocean Roleplay

iorp is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Packets - Pawn.RakNet Jelly23 Tutorials 5 13/10/2018 09:56 PM
[Tutorial] Pacotes - Pawn.RakNet Jelly23 Lanamentos/Releases 33 23/06/2018 10:49 PM
[Tutorial] Handlers - Pawn.RakNet Jelly23 Tutorials 6 30/01/2018 12:46 AM
[Tutorial] Handlers - Pawn.RakNet Jelly23 Lanamentos/Releases 14 03/01/2018 12:04 AM
[Tutorial] RPC - Pawn.RakNet Jelly23 Tutorials 21 13/12/2017 10:51 PM


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


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