Trifonius
2008-01-20 06:30:21
function TradeCheckAccept( TradeWith : String): Boolean;
I'm in need of a function that checks for trade requests and compares the name of the player that wants to trade to the TradeWith String. The TradeWith string contains the name of the player that the function must accept trade requests from.
It has to be able to pick out the right trade request when there are multiple traderequests by different players in a short time.
Don't make a function that accepts trades form anyone and then checks if it is the right player, that would be to slow.
I tried to make this myself, but failed :(
Thx in advance
I'm in need of a function that checks for trade requests and compares the name of the player that wants to trade to the TradeWith String. The TradeWith string contains the name of the player that the function must accept trade requests from.
It has to be able to pick out the right trade request when there are multiple traderequests by different players in a short time.
Don't make a function that accepts trades form anyone and then checks if it is the right player, that would be to slow.
I tried to make this myself, but failed :(
Thx in advance