? Sparks ? Posted August 8, 2009 Share Posted August 8, 2009 I am trying to make an edit but need to know what I am doing, FOr any bans I want It to show the user and In the events who that user got banned by... What would I use? Quote Link to comment Share on other sites More sharing options...
thedestroyer Posted August 8, 2009 Share Posted August 8, 2009 Re: Just a simple question heres to add an event but not sure how to add who did it. Will have a look later if no one else tells you event_add($_POST['user'],"You were banned from the (your place) for {$_POST['days']} day(s) for the following reason: {$_POST['reason']}",$c); Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted August 8, 2009 Share Posted August 8, 2009 Re: Just a simple question just add ".$ir['username']." into it. So it will become: event_add($_POST['user'], 'You were banned from YOUR GAME for ',$_POST['days'],' day(s) by ',$ir['username'],' for the following reason: '.$_POST['reason']); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.