Help RPC

englezeanu

Active member
Joined
Dec 17, 2013
Messages
40
Reaction score
0
Hi.

Can anyone share with me RPC code for OnEnterExitModShop? I was trying to send fake data to the server but I couldn't find this RPC in sobeit nor raksamp source.
 

englezeanu

Active member
Joined
Dec 17, 2013
Messages
40
Reaction score
0
I think you didn't understand me.

When a player enters/exits a tuning garage, OnEnterExitModShop callback is called on the server. I want to fake this call (actually, I want to spam). I do not think changing interior will trigger that callback.
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
I think you don't understand.

RPC96 = ScmEvent == OnEnterExitModShop  :youdontsay:

sendSCMEvent ( int iEvent, int iVehicleID, int iParam1, int iParam2 )

SCMEVENT_PAINTJOB = 1
SCMEVENT_UPGRADE = 2
SCMEVENT_COLOR = 3
SCMEVENT_MODSHOPENTEREXIT = 4

SetInteriorId is also called when you enter the modshop.
 

englezeanu

Active member
Joined
Dec 17, 2013
Messages
40
Reaction score
0
Yeah, I'm so dumb.

I finally got it to work after I saw that scmevent params order in sobeit is not the same as in raksamp.
 
Top