SA-MP Forums Archive
RPC ids - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: RPC ids (/showthread.php?tid=663506)



RPC ids - Mopok - 03.02.2019

tell me please where I can find all rpc ids and package ids... in fact, I know some places where these ids can be viewed, but there not all ids. Actually on checking packet incoming, i noticed 212 and 208 ids of packages and rpc, what i wana know, but i didnt found, maybe there have more ids, what didn't be noticed on public?! ammm.. if you know, tell please what the package and rpc 212 and 208 id is? thanks. hope you understand my english.


Re: RPC ids - Mopok - 03.02.2019

And maybe someone, who knowns, tell me please, why isn't called OnCameraTarget - 168 id of rpc and SetTargeting - 170 id, when they are called?


Re: RPC ids - Calisthenics - 03.02.2019

MARKERS_SYNC = 208
SPECTATOR_SYNC = 212

OnOutcomingRPC is called for OnCameraTarget.


Re: RPC ids - Mopok - 03.02.2019

Where you found this ids? And about OnCameraTarget i need know, When this rpc is coming... i target on players, on actors, but they don't callcing. so what I need that they are come?... thanks


Re: RPC ids - Calisthenics - 03.02.2019

Lookup for samp raknet PacketEnumerations.

Why do you need to go low-level when there are functions for it?

https://sampwiki.blast.hk/wiki/GetPlayerTargetPlayer
https://sampwiki.blast.hk/wiki/GetPlayerTargetActor


Re: RPC ids - Mopok - 03.02.2019

Yes, i use this functions now. But now i try to be clear with rpcs and raknet... and didn't understand when package OnCameraTarget is called, what i wana discover now)


Re: RPC ids - Dayrion - 03.02.2019

Here you go: https://github.com/BrunoBM16/samp-packet-list/wiki


Re: RPC ids - Mopok - 03.02.2019

And i get it.. to reciev OnCameraTarget rpc must be EnablePlayerCameraTarget(playerid, 1);
yea


Re: RPC ids - Mopok - 03.02.2019

thanks for rpc lists and packetenumerators