Quote:
Originally Posted by Arcitc™
yes ^^
|
thanks.
this is correct?
Code:
int nPerin = pUser->RemoveTotalGold( pEvent->GetCost( iEEvent, iIEvent ) );
if( nPerin == 0 )
return TID_GAME_L_EVENT_CREATE_E004;
if( nPerin > pUser->GetTotalGold() )
return TID_GAME_L_EVENT_CREATE_E003;
penya to perin cost? in lordevent