20.06.2009, 16:41
use 1 script to store data can avoid the problem,but it has less efficiency.
eg
This would give sth. help for your frame.
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);
//