09.01.2018, 19:43
Hi,
i hope someone here can help me with the following issue:
I would like to play around with some RPCs, here is a list of all available RPCs:
https://github.com/P3ti/RakSAMP/blob...MP/SAMPRPC.cpp
E.g. i would like to get this one to work:
But the problem is im only assuming the expected params, thats why i can not get it to work as i dont knwo them.
Is there a possibility to check what parameters in the stream are expected for the RPCs somewhere?
i hope someone here can help me with the following issue:
I would like to play around with some RPCs, here is a list of all available RPCs:
https://github.com/P3ti/RakSAMP/blob...MP/SAMPRPC.cpp
E.g. i would like to get this one to work:
PHP код:
const RPC_InitGame = 139;
new BitStream:bsx = BS_New();
BS_WriteValue(
bsx,
PR_STRING, "xx.xx.xx.xx:xxxx", //server IP?
PR_STRING, "xxxxxx" // server name?
//more...??
);
BS_RPC(bsx, playerid, RPC_InitGame, PR_HIGH_PRIORITY, PR_RELIABLE_ORDERED);
BS_Delete(bsx);
Is there a possibility to check what parameters in the stream are expected for the RPCs somewhere?