CallRemoteFunction Enums
#4

Put the enum (but not the array itself) in a separate include file and include it in any and all scripts you want to use it in. Then you can write a function in your main script like:
pawn Код:
public GetPlayerInfo(playerid, pInfo:info)
    return PlayerInfo[playerid][info];
Then, in your filterscript you do this (for example):
pawn Код:
CallRemoteFunction("GetPlayerInfo", "dd", playerid, pCash);
It's probably not going to work for strings, however.
Reply


Messages In This Thread
CallRemoteFunction Enums - by ExogenZC - 14.08.2015, 16:17
Re: CallRemoteFunction Enums - by IllidanS4 - 14.08.2015, 16:19
Re: CallRemoteFunction Enums - by ExogenZC - 14.08.2015, 18:54
Re: CallRemoteFunction Enums - by Vince - 14.08.2015, 19:34

Forum Jump:


Users browsing this thread: 1 Guest(s)