8221
Modification Help / Re: RTB Pref Help
« on: April 09, 2010, 06:20:51 PM »
Thank you both very much. I didn't know about all of those types.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Using descriptive variable names helps considerably. It makes the code easier to understand by you (now and in 6 months), as well as others who are trying to help.
Try this one one for size:Code: [Select]function serverCmdStun (%client, %playerName)
{
if (%client.isAdmin || %client.isSuperAdmin)
{
%stunTarget = findClientByName(%playerName);
echo(" @ %client.getPlayerName() @ " has used the stun command.");
if (isObject(%stunTarget.player))
{
messageAll('',%stunTarget.getPlayerName() @" was the victim of " @ %client.getPlayerName() @ "'s stun!");
%stunTarget.player.tumble();
%stunTarget.player.setWhiteOut(1);
}
}
}
Hey how about you spend less time with pointless arguements and more time reading my damn PMs :c
Um, no.
This has nothing to do with your sentence structure.
You guys are just kissing Tezuni's ass so he'll give it you guys before anyone else.
You would need a relay to make that work.