CallRemoteFunction tag mismatch
#2

Quote:
Originally Posted by [HLF]Southclaw
Посмотреть сообщение
`CallRemoteFunction` (and its local partner) are declared to take `{Float,_}:` which means it only accepts `Float` and `_` (no tag). You need to de-tag any arguments to avoid tag mismatch warnings.
The wiki says:

function[] Public function's name.
format[] Tag/format of each variable
{Float,_}:... 'Indefinite' number of arguments of any tag

And I used it with:
Код:
public OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
{
	CallRemoteFunction("OPEDO", "iidffffff", playerid, objectid, response, x, y, z, rx, ry, rz);
	return 1;
}
too
Reply


Messages In This Thread
CallRemoteFunction tag mismatch - by Stefand - 11.06.2018, 19:02
Re: CallRemoteFunction tag mismatch - by Stefand - 11.06.2018, 19:17
Re: CallRemoteFunction tag mismatch - by Stefand - 11.06.2018, 19:21

Forum Jump:


Users browsing this thread: 2 Guest(s)