can't shear regular variebles with CallRemoteFunction
#6

pawn Код:
GetMoney(playerid)
{
    return CallRemoteFunction("remote_money", "i", playerid);
}

GetPatirtis(playerid)
{
    return CallRemoteFunction("remote_patirtis", "i", playerid);
}
Then in your main script:

pawn Код:
forward public remote_money(playerid);
forward public remote_patirtis(playerid);

public remote_money(playerid)
{
    return zInfo[playerid][Pinigai];
}

public remote_patirtis(playerid)
{
    return zInfo[playerid][Patirtis];
}
Reply


Messages In This Thread
can't shear regular variebles with CallRemoteFunction - by ancezas - 17.01.2013, 13:50
Re: can't shear regular variebles with CallRemoteFunction - by Patrick - 17.01.2013, 13:55
Re: can't shear regular variebles with CallRemoteFunction - by IPrototypeI - 17.01.2013, 13:56
Re: can't shear regular variebles with CallRemoteFunction - by ancezas - 17.01.2013, 13:58
Re: can't shear regular variebles with CallRemoteFunction - by ancezas - 17.01.2013, 14:11
Re: can't shear regular variebles with CallRemoteFunction - by SuperViper - 17.01.2013, 14:30

Forum Jump:


Users browsing this thread: 1 Guest(s)