Doubt :: Large Scripts
#4

use 1 script to store data can avoid the problem,but it has less efficiency.
eg
pawn Код:
//in data script
new playerJob[MAX_PLAYERS];
forward getPlayerJob(playerid);
public getPlayerJob(playerid){
  return playerJob[playerid];
}
//
//in another script
stock getPlayerJob(playerid){
  return CallRemoteFunction("getPlayerJob","i",playerid);
//
This would give sth. help for your frame.
Reply


Messages In This Thread
Doubt :: Large Scripts - by Vichuzz - 20.06.2009, 16:11
Re: Doubt :: Large Scripts - by Joe Staff - 20.06.2009, 16:12
Re: Doubt :: Large Scripts - by Vichuzz - 20.06.2009, 16:38
Re: Doubt :: Large Scripts - by yezizhu - 20.06.2009, 16:41

Forum Jump:


Users browsing this thread: 1 Guest(s)