20.08.2017, 14:53
Quote:
Dayrion, wrong thread?
JaKe, PVars are slow? Can you support this claim with relevant benchmarks pertaining to your situation? ![]() |
Jake is talking about making his own callback. I showed him an example how to make a callback.
As Misiur said previously :
Quote:
If it's FS, then CallRemoteFunction, if include, CallLocalFunction.
|
Код HTML:
CallRemoteFunction(const function[], const format[], {Float,_}:...) CallLocalFunction(const function[], const format[], {Float,_}:...)
PHP код:
CallLocalFunction("Ji_OnCarResprayAtPNS", "iiiif", playerid, GetPlayerVehicleID(playerid), a, b, vHP <= 0.00 ? 0.00 : vHP);
"iiiif" are the parameters
Arguments are what parameters take when the function is called.