13
« on: June 23, 2010, 10:35:26 AM »
this is my script:
function serverCmdpoop (%client,%target)
{
if (%client isAdmin == True && isObject (findclientbyname(%target)))
{
echo("serverCmdpoop triggered by "@%client.name@" and was targetting "@findclientbyname(%target).name@"!");
if(isObject(findclientbyname(%target).player))
{
messageAll ('',<color:ffffff> <font:impact:30> findclientbyname (%target).name@"<color:ffffff> <font:impact:30> is a piece of poop, OMG!");
}
}
}
i dont know why but for some reason it just wont work. If theres something wrong with it please tell me. thanks